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.
register_globals is probably off.
You can fix this with an .htaccess file if the web server is apache:
php_flag register_globals on
or you can fix the code:
if(isset($_GET['area']))
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php