Re: POST method not allowed
| From: | Muhammad Khairuzzaman | Date: | Wed, 09 Oct 2002 12:19:30 +0000 |
| Subject: | Re: POST method not allowed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119416@lists.php.net to get a copy of this message | ||
Ok, my bad, firstup i didnot set in httpd.conf to process *.php3 files. But
i already fix that. So, now all I'm getting is that when I I try to process
the data from a form whether I'm using GET or POST method, the value that i
get processed form is still null.
I check in the error log file and this is what it say:
[Wed Oct 09 20:18:47 2002] [error] PHP Notice: Undefined variable: name in
e:\program files\apache group\apache\htdocs\test.php3 on line 3
Or is there something wrong in my code?
<form method=GET action=test.php3>
<tr>
<td width="50%" style="border-style: none; border-width: medium"
height="20">
<p>Name: <input type="text" name="name"
size="20"></p>
<p> </p>
<p><input type="submit" value="Submit"
name="submit"><input type="reset"
value="Reset" name="B2"></p>
</form>
----------------------------------------------------------------------------
-----------------------
<html>
<?php
print "my name is $name";
?>
</html>