Forum Moderators: coopster
www.thesite.com/news.php?article=5
The variable $article does not have a value in PHP. The pages works on the production server but not on the testing server. Is this an Apache thing or a PHP thing?
In PHP register_globals as set on as default. The default for register_globals was changed to off in 4.2.0. To deal with this you can add:
"php_flag register_globals on"
to your .htaccess file or look for your variable in $_GET['yourVariableName']. Please read about it here if you are having this problem.
[php.net...]
Don't you think register globals to just remain off [webmasterworld.com] for different security reasons.
Habtom