URL variables parsing error?
| From: | hiaer at azrael dot sk | Date: | Thu, 18 Sep 2003 09:51:09 +0000 |
| Subject: | URL variables parsing error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162982@lists.php.net to get a copy of this message | ||
Hi all,
I use RedHat9.0 with Apache 2.0.40 & PHP 4.2.2
and I have problem with parsing URL variables...
I use this URL: http://my.domain.mine/index.php?var1=value1&var2=value2
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
Any idea?
THANKS.