Re: Problem with PHP and URL variables after upgrade
| From: | Jeffrey_N_Dyke at Keane dot com | Date: | Wed, 04 Sep 2002 16:07:40 +0000 |
| Subject: | Re: Problem with PHP and URL variables after upgrade | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8324@lists.php.net to get a copy of this message | ||
register_globals is set to off, set it to on in php.ini or use the
$_GET['FolderNum'] notation. see manual for details of why.
Jeff
My server is running RedHat linux 7.2. I had previously used the RPM
installation and was running 4.0.6... I recently uninstalled the RPM
version and
installed PHP 4.2.2 from source code, and now I'm having problems with URL
variables.
ie.. http://www.dotkommissar.com/index.php?FolderNum=2
(my friend's site, who pointed out the problem)
The code in question:
echo "FolderNum = $FolderNum<BR>\n";
Why doesn't it return the value of FolderNum? This worked fine prior to
the
upgrade.
Thanks!
Rick Root
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php