RE: [PHP] Problem with GET variables
| From: | Johnson, Kirk | Date: | Mon, 23 Jun 2003 21:48:18 +0000 |
| Subject: | RE: [PHP] Problem with GET variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152543@lists.php.net to get a copy of this message | ||
Set register_globals to "On" in php.ini.
Kirk
> -----Original Message-----
> From: Sid [mailto:sidh@hathway.com]
> Sent: Monday, June 23, 2003 3:52 PM
> To: php-general@lists.php.net
> Subject: [PHP] Problem with GET variables
>
>
> Hello,
>
> I just updated PHP on my local computer from PHP 4.0.2 to
> 4.3.2 (Yes, I know, its a very very long time). I also
> downloded the latest version of Apache and installed PHP as a
> module. Now PHP runs fine on the server. I have a small
> problem though. Variables being sent via the GET method are
> not getting parsed. I can acess these variables via the
> $_GET["variable"] method but not through $variable. Any idea
> why. Most of my old PHP scripts accessed the variables
> directly by their name and so this will be a very very big
> problem for me. Any idea how I can get this old feature back.
>
> Thank you.
>
> - Sid
>