set register_globals to "on" in your php.ini or use global variables.


---
 Fabio Moraes
 [EMAIL PROTECTED]
 +55 21 3088 9548 

-----Original Message-----
From: Eckstein, David [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:02 AM
To: '[EMAIL PROTECTED]'
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

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to