Re: PHP as Scripting Language
| From: | Frank Joerdens | Date: | Wed, 07 Feb 2001 17:50:28 +0000 |
| Subject: | Re: PHP as Scripting Language | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38576@lists.php.net to get a copy of this message | ||
On Wed, Feb 07, 2001 at 12:10:46PM -0500, John Huggins wrote:
[ . . . ]
>
> host:~/projects/PHPScripts # ./test.php
> Content-type: text/html
>
> Hello World
>
>
>
> Great. Now how do I get rid of the Content-type line? I have
searched the
> docs with little clues.
#!/usr/local/bin/php -q
Is what you do. Annoyingly, though, this does not work if you use PHP
this way for CGI Programming . . .
Regards, Frank