Re: How to pass on a variable with a page request

From: Date: Wed, 22 Nov 2000 10:13:33 +0000
Subject: Re: How to pass on a variable with a page request
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26599@lists.php.net to get a copy of this message
Hi Lawrence, I think I located the problem now thanks to your suggestions. > I would first try passing the url to a test file eg > > test.php > <? > print "<br>GET:".$HTTP_GET_VARS ("user"); > print "<br>POST:".$HTTP_POST_VARS ("user"); > print "<br>INTERNAL:".$user; > ?> > I did what you suggested and the answer I got from PHP was: Call to undefined function: array() in /usr/local/httpd/htdocs/test.php on line 9 This means that PHP does not recognize the function $HTTP_GET_VARS I don't know why this happens, but I suppose this is the reason why the variables don't appear in my pages. Funny, because register_globals is On in my php.ini Any thoughts? -- Bruno

« previous php.general (#26599) next »