#42431 [NEW]: I'm newbie in PHP
| From: | hiep8024 at gmail dot com | Date: | Sun, 26 Aug 2007 07:45:39 +0000 |
| Subject: | #42431 [NEW]: I'm newbie in PHP | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-116676@lists.php.net to get a copy of this message | ||
From: hiep8024 at gmail dot com
Operating system: Win XP pro
PHP version: 5.2.3
PHP Bug Type: CGI related
Bug description: I'm newbie in PHP
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:
--
Edit bug report at http://bugs.php.net/?id=42431&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42431&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42431&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42431&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42431&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42431&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42431&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42431&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42431&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42431&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42431&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42431&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42431&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42431&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42431&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42431&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42431&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42431&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42431&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42431&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42431&r=mysqlcfg