Re: url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
<mcwc@xxxxxxxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux