note 22670 added to security.cgi-bin

From: Date: Wed, 26 Jun 2002 15:12:07 +0000
Subject: note 22670 added to security.cgi-bin
Groups: php.notes 
Request: Send a blank email to php-notes+get-32224@lists.php.net to get a copy of this message
If you are running php in binary mode and see the http headers printed at the top of each page, it is because the php binary cannot find the browscap.ini. As a result, PHP sends Content-type: text/html\n\n before it sends the http headers. Determine the path that the browscap.ini should reside and place a 0 byte browscap.ini file there. The headers go away. Kind of a strange behavior for php. I welcome an explanation. -- http://www.php.net/manual/en/security.cgi-bin.php http://master.php.net/manage/user-notes.php?action=edit+22670 http://master.php.net/manage/user-notes.php?action=delete+22670 http://master.php.net/manage/user-notes.php?action=reject+22670

« previous php.notes (#32224) next »