LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   php not taking arguments when passed through URLs (http://www.linuxquestions.org/questions/linux-software-2/php-not-taking-arguments-when-passed-through-urls-163552/)

BrianK 03-28-2004 09:17 PM

php not taking arguments when passed through URLs
 
I'm migrating a webserver. The new server is up and running with apache 2.0.40-21.9 and php 4.2.2-17.2. The pages seem to be working, but when I send an argument to a php script through the URL, the script is not getting the argument. As an example:

http://192.168.0.60/customer_service/report.php
http://192.168.0.60/customer_service...ext=2004_March

both do the exact same thing, when, in fact, they should do something different being that one gets an argument and one doesn't.

Could it be a problem with apache or the apache config? problem with a php config? Something else?

Thanks.

Kovacs 03-28-2004 10:35 PM

Does your new server have register globals turned off in php.ini?

BrianK 03-29-2004 12:38 PM

Quote:

Originally posted by Kovacs
Does your new server have register globals turned off in php.ini?
yes. I'm not a php guy at all - Is this causing the problem? Is that what a global is in php?

ahhh... found the old php.ini file & copied it over to the new machine. Everything is working now.

Thanks!


All times are GMT -5. The time now is 04:15 AM.