Re: Unable to pass variables through URL with '?'

From: Date: Fri, 12 Jul 2002 17:48:36 +0000
Subject: Re: Unable to pass variables through URL with '?'
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7710@lists.php.net to get a copy of this message
Eckstein, David wrote:
Hello, I'm having a bit of trouble passing variables to PHP scripts and am hoping Reading the release notes for a modern php version, it states that register_globals is off by default. Its better if you leave if off and use $_GET['var'] or $_POST['var'] instead of turning it on again, but your choice.
<?PHP echo $quid; ?> I get the error message: Notice: Undefined variable: quid in test.php on line 2 It means what it says. You have used the value of a variable without first giving it a value (in this case because register_globals is off). Please refer to the excellent manual.
HTH Chris

« previous php.install (#7710) next »