PHP path shown on browser
| From: | Tony | Date: | Sat, 19 Jan 2002 17:42:59 +0000 |
| Subject: | PHP path shown on browser | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5628@lists.php.net to get a copy of this message | ||
Hi all,
I got a problem when i run php as a CGI binary.
I wrote a php script as follow
#!/usr/local/bin/php
<?
print "Hello World";
?>
however, i got the following result when i called it from browser
#!/usr/local/bin/php
Hello World
The path of PHP is always shown at the top of the browser.
Does anyone know the solution?
Thanks
Tony.