ID: 6372 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Scripting Engine problem Operating System: NT4 SP6a -PHP Version: PHP4.0.2 +PHP Version: 4.0.2 New Comment:
fixed wrong version string. And this is fixed long time ago, just ignore this notice. Previous Comments: ------------------------------------------------------------------------ [2000-08-30 08:27:38] [EMAIL PROTECTED] Bug persists in PHP4.0.2. ------------------------------------------------------------------------ [2000-08-27 01:49:44] [EMAIL PROTECTED] Configuration... php-4.0.2-dev-Win32-24-8-2000.zip WinNT4 SP6a HTTP Server: WebSitePro/2.5.4 mySQL: 3.23.22-beta ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Script (Note first line is blank) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>php-4.0.2-dev-Win32-24-8-2000.zip</title> </head> <body> <?php show_source(__FILE__); phpinfo(); ?> </body> </html> Data Dump for html... 23:52:32 SEND ==> sock 480 [192.168.0.1] (16384, 0x4000) -----|-------------------------------------|---------------- 0000 48545450 2F312E30 20323030 204F4B0D HTTP/1.0 200 OK. 0010 0A446174 653A2053 756E2C20 32372041 .Date: Sun, 27 A 0020 75672032 30303020 30333A35 323A3332 ug 2000 03:52:32 0030 20474D54 0D0A5365 72766572 3A205765 GMT..Server: We 0040 62536974 6550726F 2F322E35 2E340D0A bSitePro/2.5.4.. 0050 41636365 70742D72 616E6765 733A2062 Accept-ranges: b 0060 79746573 0D0A0D0A 3C21444F 43545950 ytes....<!DOCTYP 0070 45204854 4D4C2050 55424C49 4320222D E HTML PUBLIC "- 0080 2F2F5733 432F2F44 54442048 544D4C20 //W3C//DTD HTML 0090 342E3020 5472616E 73697469 6F6E616C 4.0 Transitional 00A0 2F2F454E 223E0D0A 3C68746D 6C3E0D0A //EN">..<html>.. Problem.. No Content-Type Header line in Header block. Also, the mandatory blank line separating the header block from the contents block is also missing. In this block, it was forced by my including a first blank line in the script. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Data Dimp for GIF... 23:52:33 SEND ==> sock 508 [192.168.0.1] (4542, 0x11BE) -----|-------------------------------------|---------------- 0000 48545450 2F312E30 20323030 204F4B0D HTTP/1.0 200 OK. 0010 0A446174 653A2053 756E2C20 32372041 .Date: Sun, 27 A 0020 75672032 30303020 30333A35 323A3333 ug 2000 03:52:33 0030 20474D54 0D0A5365 72766572 3A205765 GMT..Server: We 0040 62536974 6550726F 2F322E35 2E340D0A bSitePro/2.5.4.. 0050 41636365 70742D72 616E6765 733A2062 Accept-ranges: b 0060 79746573 0D0A4749 46383961 64003A00 ytes..GIF89ad.:. Same problem, however since there is no opportunity to provide the "mandatory blank line" separating the Header block and the contents, the image is not rendered in the browser. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=6372&edit=1