My guess is your client has the latest version of PHP (>4.2.0) whiile
the old server had an older version (pre 4.2.0).

register_globals = off in the php.ini
http://us2.php.net/manual/en/ini.sect.data-handling.php#ini.register-globals

Change
<? if (!isset($area)) { ?>
to
<? if (!isset($_GET['area'])) { ?>


On Wed, 20 Oct 2004 10:07:38 -0700 (PDT), Dan McCullough
<[EMAIL PROTECTED]> 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.
> 
> --------------------------------------------------------
> "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

Reply via email to