Dan McCullough wrote:

I have this old script I wrote 2-3 years back. I gets arguments from the url. index.php?area=blah
The client moved the code to another server and some odd happened. Nothing seems to be parsing from the URL anymore.
The top code is <? if (!isset($area)) { ?>
HTML
THis code no longer seems to work and I am racking my brain trying to figure out what.

It probably has to do with settings in php.ini. The new server probably has register_globals = off. The old one probably had it set to on.


Try $_GET['area'] instead of $area.

Janet



--------------------------------------------------------
"Theres no such thing as a problem unless the servers are on fire!"

                
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!


--
Janet Valade -- janet.valade.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to