From:             chyunc at ifi dot uio dot no
Operating system: Win XP
PHP version:      5CVS-2006-08-30 (snap)
PHP Bug Type:     Apache2 related
Bug description:  empty port form

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 bug report at http://bugs.php.net/?id=38655&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38655&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38655&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38655&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38655&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38655&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38655&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38655&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38655&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38655&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38655&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38655&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38655&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38655&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38655&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38655&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38655&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38655&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38655&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38655&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38655&r=mysqlcfg

Reply via email to