Re: Problem with PHP and URL variables after upgrade

From: Date: Wed, 04 Sep 2002 16:14:43 +0000
Subject: Re: Problem with PHP and URL variables after upgrade
Groups: php.install 
Request: Send a blank email to php-install+get-8325@lists.php.net to get a copy of this message
Turn register_globals on in your php.ini file, or more preferrably, access your GET variables through the array $_GET (i.e., $_GET['FolderNum']) instead of having your variables automatically created. -Jim >>> Rick Root <rroot@ads.duke.edu> 09/04/02 09:52AM >>> 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

« previous php.install (#8325) next »