ID: 16595 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: FreeBSD 4.5 PHP Version: 4.1.2 New Comment:
Bogus then. Thanks for letting us know.. Previous Comments: ------------------------------------------------------------------------ [2002-04-14 19:27:17] [EMAIL PROTECTED] Sorry. I already solve my problem. It was not PHP problem. It was Apache + mod_bandwidth problem. Thank you ------------------------------------------------------------------------ [2002-04-14 18:41:26] [EMAIL PROTECTED] Which Apache version is it? ------------------------------------------------------------------------ [2002-04-14 04:03:02] [EMAIL PROTECTED] When PHP compiled as CGI for Apache - POST variables don't set. ./configure --prefix=/usr --with-config-file-path=/etc/httpd/conf --enable-force-cgi-redirect --with-mysql=/usr/local --with-gd --with-pgsql=/usr I cannot access to it by $_POST['field_name'] or $HTTP_POST_VARS['field_name'] or $field_name. Script example index.php -------------------- <?php print $HTTP_POST_VARS['username']."<br>"; print $_POST['username']."<br>"; print $username."<br>"; ?> <form action="index.php" method="POST"> <input type="text" name="username" value="alex"> <input type="submit" value="Send"> </form> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16595&edit=1