RE: [PHP] URL variables parsing error?

From: Date: Thu, 18 Sep 2003 11:57:18 +0000
Subject: RE: [PHP] URL variables parsing error?
Groups: php.general 
Request: Send a blank email to php-general+get-162994@lists.php.net to get a copy of this message
[snip] and this is my index.php <?php echo "var1: $var1" ; echo "var2: $var2" ; phpinfo(); ?> Output of this page is without expansion of my variables var1, var2 at section "echo" but phpinfo expand this: _GET["var1"] value1 _GET["var2"] value2 [/snip] This is not an error. Register globals is off (which is a Good Thing TM). var1 and var2 are in the $_GET array because they are "passed" via a GET method of posting (using the URL). A perusing of the manual at http://us4.php.net/variables will tell you all you need to know and more. Please follow all of the links on the page so that the details will become apparent. Have a pleasant and productive day.

« previous php.general (#162994) next »