PHP 4.0 Bug #9041 Updated: Extra #! at top of web output.

From: Date: Sat, 24 Feb 2001 17:06:52 +0000
Subject: PHP 4.0 Bug #9041 Updated: Extra #! at top of web output.
Groups: php.dev 
Request: Send a blank email to php-dev+get-47381@lists.php.net to get a copy of this message
ID: 9041 Updated by: jmoore Reported By: john@cdproc.com Old-Status: Open Status: Suspended Bug Type: *Configuration Issues Assigned To: Comments: Suspending this until a decision about what should be the correct behaviour from PHP should be. Previous Comments: --------------------------------------------------------------------------- [2001-02-05 16:34:55] john@cdproc.com Here are the CGI's I'm using: ---- #!/opt/php/bin/php <? phpinfo(); ?> ---- ---- #!/bin/sh echo Content-type: text/html\n\n; echo "foo!" ---- Now this might not help any, but I truss'd the web server process (Netscape, remember.) and here a few snippits output. sh CGI. read(23, " C o n t e n t - t y p e".., 8192) = 31 send(17, " H T T P / 1 . 1 2 0 0".., 118, 0) = 118 send(17, "n f o o !n", 6, 0) = 6 PHP CGI. read(22, " X - P o w e r e d - B y".., 8192) = 5120 send(17, " H T T P / 1 . 1 2 0 0".., 146, 0) = 146 send(17, " # ! / o p t / p h p / b".., 5065, 0) = 5065 Graphic for PHP CGI page. send(19, " H T T P / 1 . 1 2 0 0".., 146, 0) = 146 send(19, " G I F 8 9 a82

« previous php.dev (#47381) next »