Re: cgi--remove X-Powered-By and Content-type

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

« previous php.general (#33718) next »