Super Globals... Why returnung blank in all ...
Posted: Tue Dec 31, 2002 8:24 am
Good Morning .... I am sorry if this is a repeat question or if it is so simple to some. I searched the usergroup but i could not find the answer.
--My register_globals are turned off.
--I am using PHP4.3
--Page index.php is calling itself and passing a URI parameter in the url string (http://www.abcd.com/index.php?testSTR=aboutus).
--All i am trying to do is get the value of the testSTR. I tried all superglobal value with no use. I read Jason's article but it still does not work for this one.
Any help is greatly appreciated.
When i display the the following, it all displays blanks...
echo $HTTP_SERVER_VARS['iam']
echo $HTTP_SERVER_VARS['$iam'];
echo $HTTP_SERVER_VARS[$iam];
echo $_SERVER['iam'];
echo $_SERVER['$iam'];
echo $_SERVER[$iam];
echo $_POST['iam'];
echo $_POST['$iam'];
echo $_POST[$iam];
Is there anything el;se that has to be turned on with PHP4.3???
thanks again
--My register_globals are turned off.
--I am using PHP4.3
--Page index.php is calling itself and passing a URI parameter in the url string (http://www.abcd.com/index.php?testSTR=aboutus).
--All i am trying to do is get the value of the testSTR. I tried all superglobal value with no use. I read Jason's article but it still does not work for this one.
Any help is greatly appreciated.
When i display the the following, it all displays blanks...
echo $HTTP_SERVER_VARS['iam']
echo $HTTP_SERVER_VARS['$iam'];
echo $HTTP_SERVER_VARS[$iam];
echo $_SERVER['iam'];
echo $_SERVER['$iam'];
echo $_SERVER[$iam];
echo $_POST['iam'];
echo $_POST['$iam'];
echo $_POST[$iam];
Is there anything el;se that has to be turned on with PHP4.3???
thanks again