I got into a trouble passing args to a php script.
I made a test script on my machine but it doesn't seem to receive my argument......
What's wrong with my script/url. plz help!!!
Thanks in advance.
I call my php like this
" (phptest is my virtualhost name)
My script
---test4.php-----
<html>
<head>
<title>PHP Test4</title>
</head>
<body>
<?php
$foo = "foobar";
print ("foo is $foo<br>");
print ("arg is $arg");
?>
</body>
</html>
-------end----------
Result
--------------------
---------snip-----------
foo is foobar
arg is
-------------------------
Luckiest in the world
I made a test script on my machine but it doesn't seem to receive my argument......
What's wrong with my script/url. plz help!!!
Thanks in advance.
I call my php like this
" (phptest is my virtualhost name)
My script
---test4.php-----
<html>
<head>
<title>PHP Test4</title>
</head>
<body>
<?php
$foo = "foobar";
print ("foo is $foo<br>");
print ("arg is $arg");
?>
</body>
</html>
-------end----------
Result
--------------------
---------snip-----------
foo is foobar
arg is
-------------------------
Luckiest in the world