ID: 33104 Updated by: [EMAIL PROTECTED] Reported By: paigrande at yahoo dot com -Status: Open +Status: Bogus Bug Type: *URL Functions Operating System: Win 2003 PHP Version: 5.0.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. You use curly quotes around POST in your form, that's obviously not working. Not a bug in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-05-22 21:39:26] paigrande at yahoo dot com Description: ------------ Just learning PHP. I have simple HTML form performing a POST to a PHP script which retrieves the posted values from $_POST variable. I get no results. If I look in $_GET without changing HTML form, I have values. See example code. My setup: Windows 2003 Enterprise Apache 2.0.54-win32-x86-no ssl jakarta-tomcat 5.5.9 jakarta-connectors jk 2.0.4 win32 apache 2.0.49 PHP 5.0.4 win32 Reproduce code: --------------- <HTML> <head> <title>Test Search Form</title> </head> <body> <FORM ACTION="post.php" METHOD=”POST”> <table> <tr><td>Date: <input type="text" name="eDate"></td></tr> <tr><td><input name="Submit" type="submit" value="Search"></tr></td> </table> </FORM> </body> </html> post.php: <?PHP print_r($_POST['eDate']); ?> Expected result: ---------------- I expect the date I enter on the HTML form to be printed. Actual result: -------------- This URL: http://localhost/test/post.php?eDate=1999-09-09&Submit=Search Error message: [client 127.0.0.1] PHP Notice: Undefined index: eDate in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\test\\post.php on line 3, referer: http://localhost/test/test_form.html ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33104&edit=1