note 26348 rejected from function.ini-set by betz

From: Date: Mon, 28 Oct 2002 10:13:19 +0000
Subject: note 26348 rejected from function.ini-set by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38631@lists.php.net to get a copy of this message
Need some way to totally turn off the "X Powered-by" and "Content-type: text/html" from individual scripts! I make command-line PHP functions that print errors to the STDERR, and this is what it looks like; Fatal: No config.inc. Run setup.php now! X-Powered-By: PHP/4.2.3 Content-type: text/html very confusing...do we really expect ppl to run php -q filename evry time? right now i have my setup.php do a "ln -s which php php" and in the 1st line of my php scripts, i have #!./php -q still very ugly.

« previous php.notes (#38631) next »