register_globals is most likely turned off on the new server (as it should
be). do a phpinfo() to see.
Or change the code to <? if (!isset($_GET['area'])) { ?> to use the super
global arrays.
neal
-----Original Message-----
From: Dan McCullough [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 20, 2004 11:08 AM
To: PHP General List
Subject: [PHP] url
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.
--------------------------------------------------------
"Theres no such thing as a problem unless the servers are on fire!"
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php