ID:               38655
 Updated by:       [EMAIL PROTECTED]
 Reported By:      chyunc at ifi dot uio dot no
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Win XP
 PHP Version:      5CVS-2006-08-30 (snap)
 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.




Previous Comments:
------------------------------------------------------------------------

[2006-08-30 11:46:57] chyunc at ifi dot uio dot no

Description:
------------
The POST form data is always empty, but GET form works. This problem
appear when I use PHP5 with Apache 2.0. Earlier I have  used PHP4 with
Apache 2.0 and had no problem.

Simple code like this is not working:

<?php
if (array_key_exists('my_name',$_POST)) {
    print "Hello, ". $_POST['my_name'];
} else {
    print<<<_HTML_
<form method="post" action="$_SERVER[PHP_SELF]">
 Your name: <input type="text" name="my_name">
<br/>
<input type="submit" value="Say Hello">
</form>
_HTML_;
}
?>




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38655&edit=1

Reply via email to