php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42431 I'm newbie in PHP
Submitted: 2007-08-26 07:45 UTC Modified: 2007-08-26 22:31 UTC
From: hiep8024 at gmail dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.2.3 OS: Win XP pro
Private report: No CVE-ID: None
 [2007-08-26 07:45 UTC] hiep8024 at gmail dot com
Description:
------------
I'm just install PHP 5.2.3 for window and I used Win Xp pro SP2 with IIS 6.0. I'm wrote:"<html><?php echo "hello world"; and another line that is echo phpinfo(); ?></html>" 
At the first time it run ok but the next time it reported like this:"CGI error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
"
Please help me! I couldn't figure out that mistake!! Thank you for anyone read my note!

Reproduce code:
---------------
<html>
<head>
<title>Trang viet bang php</title>
</head>
<body>
<?php
$Greeting = "Xin chao moi nguoi toi la PHP";

echo $strGreeting

?>
<h2>hello world!</h2>
</body>
</html>

Expected result:
----------------
appear in the webrowse IE the line:
Xin chao moi nguoi toi la PHP

Actual result:
--------------
CGI error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-26 22:31 UTC] jani@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 10:01:36 2024 UTC