I think you could also turn expose_php off in php.ini (if you
use it)
At 19:11 10.1. 2001, Philip Olson wrote the following:
--------------------------------------------------------------
>Add a -q
>
>#!/usr/local/bin/php -q
>
>To suppress them.
>
>
>Philip Olson
>http://www.cornado.com/
>
>On Wed, 10 Jan 2001, Tom Harris wrote:
>
>> I'm sure this is an easy question (I'm just too dumb to figure it out).
>>
>> When I run a php script from the shell it always outputs
>> X-Powered-By: PHP/4.0.3pl1
>> Content-type: text/html
>>
>> Normally I just ignore this, but I've been using cron to run a php script
>> and I'm getting my mailbox cluttered with messages that just contain the
>> above 2 lines. Is there a way to make the cgi version of php not send those
>> two lines. I tried changing default_mimetype ="" in the php.ini file but
>> that didn't work.
>>
>> Thanks
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]