cvs: phpweb /include prepend.inc

From: Date: Sun, 02 Mar 2003 16:53:32 +0000
Subject: cvs: phpweb /include prepend.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-16002@lists.php.net to get a copy of this message
goba Sun Mar 2 11:53:32 2003 EDT Modified files: /phpweb/include prepend.inc Log: Provide default content-type, charset and language information on all pages Index: phpweb/include/prepend.inc diff -u phpweb/include/prepend.inc:1.18 phpweb/include/prepend.inc:1.19 --- phpweb/include/prepend.inc:1.18 Sat Mar 1 11:14:34 2003 +++ phpweb/include/prepend.inc Sun Mar 2 11:53:32 2003 @@ -1,9 +1,14 @@ <?php // -*- C++ -*- -// $Id: prepend.inc,v 1.18 2003/03/01 16:14:34 goba Exp $ +// $Id: prepend.inc,v 1.19 2003/03/02 16:53:32 goba Exp $ // See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 // for cache control header descriptions (used in many places on the site). + +// Provide default content-type, charset and language information +// Manual pages will override this, and maybe others too +header("Content-language: en"); +header("Content-type: text/html;charset=ISO-8859-1"); // Prevent cross site scripting problems unset($RSIDEBAR_DATA);

« previous php.mirrors (#16002) next »