I've just installed PHP on my workstation and it seems as I have some trouble. The simplest code does not work! Here it is:
<? print_r($HTTP_GET_VARS); print("param = " . $param); ?>
I run it with URL like this http://localhost/myApp/test.php?param=qqq: I expect it to print 'param=qqq' string, though it does not! :((( Here is the output:
Array ( [param] => qqq ) Notice: Undefined variable: param in d:\phptest\test.php on line 4 param =
Though, the script produces expected output when uploaded to a production server.
Where is the bug? Any ideas are greatly appreciated.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php