PHP 4.0 Bug #8506 Updated: CGI PHP doesn't erase the #!/path/to/php

From: Date: Tue, 02 Jan 2001 19:49:34 +0000
Subject: PHP 4.0 Bug #8506 Updated: CGI PHP doesn't erase the #!/path/to/php
Groups: php.dev 
Request: Send a blank email to php-dev+get-42647@lists.php.net to get a copy of this message
ID: 8506 Updated by: jmoore Reported By: vladnc@hotmail.com Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: PHP does not require the first line that you are including unlike perl due to the way its set up in apache. Previous Comments: --------------------------------------------------------------------------- [2000-12-31 21:13:47] vladnc@hotmail.com The script is: --- Cut --- #!/home/vladimir/php4/bin/php <% phpinfo () %> --- Cut --- You can see the result at http://book.ecompare-corp.com/cgi-bin/vxml/engines/kbb/phpinfo.php The first line of the page is #!/home/vladimir/php4/bin/php, and that's very annoying. I'm using PHP to generate XML output, and the XML parser that will read the output doesn't like the first line, and I can't blame it. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8506

« previous php.dev (#42647) next »