[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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to