RE: [PHP] arg parsing
| From: | John W. Holmes | Date: | Fri, 08 Nov 2002 18:51:24 +0000 |
| Subject: | RE: [PHP] arg parsing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123460@lists.php.net to get a copy of this message | ||
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: php-general@lists.php.net
> 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