|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-10-05 15:20 UTC] andi at cvs dot php dot net
[2011-07-10 14:51 UTC] irker@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 19 01:00:01 2026 UTC |
The files below demonstrate the difficulty I am having. They work fine in php3 and also if the POST method is replaced with GET. As is, the message "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:", without anything else. If the action is changed to bug.php then it just waits forever! Presumably the problem is related to the session module, but I cannot see how to make it work. I have tried every combination of things I can think of to no avail. Am I doing something wrong or is this a real bug? Any help would be appreciated as I need to get this working in a hurry! ---------------------------------------- bug.php ---------------------------------------- <html> <body> <?php if ( $Submit == "World") { echo "<p>hi $Submit</p>"; } else { echo "<p>hello</p>"; echo "<form method=\"POST\" action=\"bug2.php\">\n"; echo "<p><input type=\"Submit\" name=\"Submit\" value=\"World\"></p></form>\n"; } ?> </body> </html> ---------------------------------------- bug2.php ---------------------------------------- <html> <body> <p>hi <?php echo $Submit ?></p> </body> </html> ---------------------------------------- ----------------------------------------