Could anybody give me a pointer for my problem?
I just installed php 4.3.1 on my w2k platform
I also installed Apache 2.0.43.
I can get "hello world" and "phpinfo()"  working.
However, when I try a simple form like this following:


<html>
<title> test </title>
<body>
<form action="foo.php" method="get">
    Name:  <input type="text" name="username"><br>
    Email: <input type="text" name="email"><br>
    <input type="submit" name="submit" value="Submit me!">
    <input type="reset" name="reset" value="reset!">
</form>
</body>
</html>


and my foo.php is
<?php
   print ("hello, username = $username");
?>
I got : hello, username =
The $username is alwasy empty.....
I know my form and GET action is working. I saw the following query string
in url after I hit submit button:
http://localhost/myphp/foo.php?username=qwe&[EMAIL PROTECTED]&submit=Submit+me%21
However, php is not able to get varialbe $username and $email

Any ideas?

I tried the same script is ipower website, it works...
Do I miss any thing in php.ini?
I also switch to apache 1.37, I got the same results. The variable is still
empty.

Thanks
E.E.




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

Reply via email to