Look at register_globals in your php.ini.

Your variables are being passed, it's just that with register_globals
OFF, you reference it as $_GET['action'] and with it on, you reference
it as just $action.

---John Holmes...

> -----Original Message-----
> From: phil [mailto:phil@;localwebpages.co.uk]
> Sent: Friday, November 08, 2002 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] arg parsing
> 
> Apologies for revisting any old ground but I am not able to resolve
this.
> 
> I have been running a php script that uses an argument
> 
> http://..............././process.php?action=new
> 
> It used to work on linux 7.3 php4 apache 1.3.2
> 
> I have just upgraded my test environment to
> linux 8.0 php4.3.2 apache 2.040
> 
> now it doesn't work becuase the arg does not get parsed. I am sure
that
> this
> is a config issue but I do not know it - any assistance much
appreciated.
> 
> 
> regards
> 
> 
> Phil
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




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

Reply via email to