note 26348 added to function.ini-set

From: Date: Sun, 27 Oct 2002 14:52:04 +0000
Subject: note 26348 added to function.ini-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-38623@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. -- http://www.php.net/manual/en/function.ini-set.php http://master.php.net/manage/user-notes.php?action=edit+26348 http://master.php.net/manage/user-notes.php?action=delete+26348 http://master.php.net/manage/user-notes.php?action=reject+26348

« previous php.notes (#38623) next »