Removing the #!/usr... from cgi output?
| From: | David Brannlund | Date: | Fri, 05 Jul 2002 10:38:48 +0000 |
| Subject: | Removing the #!/usr... from cgi output? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105609@lists.php.net to get a copy of this message | ||
Hi everyone,
When I run PHP as CGI, it outputs the #!... line to the browser. Is there a
way around this?
Example:
#!/usr/local/bin/php
<?php
print "foo";
?>
becomes
#!/usr/local/bin/php
foo
in the browser.
Thanks,
David