Re: Removing header when run from commandline
| From: | Kyle Jerviss | Date: | Sun, 10 Dec 2000 19:04:39 +0000 |
| Subject: | Re: Removing header when run from commandline | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29568@lists.php.net to get a copy of this message | ||
use -q as in #!/usr/local/bin/php -q
o.cook@etoncollege.org.uk wrote:
>
> Is there any way to suppress the following header being prepended to any
> output when running PHP4 from the commandline.
>
> e.g.
>
> #!/usr/local/bin/php
> <?
> echo "test";
> exit;
> ?>
>
> #./test gives
> "X-Powered-By: PHP/4.0.2
> Content-type: text/html
>
> test"
>
> Any help would be gratefully received,
>
> Ollie
>
> ---
> Do radioactive cats have 18 half-lives?
>
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x53D29567
> ---
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net