cgi--remove X-Powered-By and Content-type
| From: | Tom Harris | Date: | Wed, 10 Jan 2001 18:08:55 +0000 |
| Subject: | cgi--remove X-Powered-By and Content-type | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33717@lists.php.net to get a copy of this message | ||
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