RE: [PHP-INST] Unable to pass variables through URL with '?'
| From: | Moraes, Fabio | Date: | Fri, 12 Jul 2002 14:25:12 +0000 |
| Subject: | RE: [PHP-INST] Unable to pass variables through URL with '?' | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7700@lists.php.net to get a copy of this message | ||
set register_globals to "on" in your php.ini or use global variables.
---
Fabio Moraes
fabio.moraes@eds.com
+55 21 3088 9548
-----Original Message-----
From: Eckstein, David [mailto:EcksteinD@Coramhc.com]
Sent: Friday, July 12, 2002 11:02 AM
To: 'php-install@lists.php.net'
Subject: [PHP-INST] Unable to pass variables through URL with '?'
Hello,
I'm having a bit of trouble passing variables to PHP scripts and am hoping
someone can help me. I am running php4isapi.dll on an NT4 server running
IIS5. When I try to pass a variable such as:
test.php?quid=4
to a script like:
<?PHP
echo $quid;
?>
I get the error message:
Notice: Undefined variable: quid in test.php on line 2
Anyone have any idea why this may be happening? (same thing with quotes echo
"$quid";)
Thanks!
Dave Eckstein