LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   strange apache php problem (https://www.linuxquestions.org/questions/linux-software-2/strange-apache-php-problem-324862/)

lbharti 05-18-2005 09:30 PM

strange apache php problem
 
I am having a strange problem with apache 2.53 and php4 module on my gentoo system. I am able to excute php pages but when I submit a form to a php page, they do not get transferred to the php page. Please help.

j-ray 05-19-2005 02:39 AM

how do u retrieve the data sent by post or get from the form. maybe u are used to work with php with the
register_globals flag set to "on" and here it is set to "off".
if set to "off" u find the sent values in $_POST["fieldname"] or $_GET["fieldname"] elements

lbharti 05-19-2005 12:12 PM

Thanks a lot for the reply and I hope it helps, but what is the difference? Does it have anything to do with the security of the system?

j-ray 05-20-2005 10:39 AM

the recommended way to run php is with register_globals=Off for security reasons. a lot of production servers still use the less
secure way though. so if u want to learn it thoroughly get used to both...
good luck
j.


All times are GMT -5. The time now is 07:05 PM.