note 116323 added to function.header

From: Date: Fri, 12 Dec 2014 13:34:05 +0000
Subject: note 116323 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-201135@lists.php.net to get a copy of this message
Saving php file in ANSI no isuess but when saving the file in UTF-8 format for various reasons remember to save the file without any BOM ( byte-order mark) support. Otherwise you will face problem of headers not being properly sent eg. <?php header("Set-Cookie: name=user");?> Would give something like this :- Warning: Cannot modify header information - headers already sent by (output started at C:\www\info.php:1) in C:\www\info.php on line 1 ---- Server IP: 72.52.91.14 Probable Submitter: 114.79.185.235 ---- Manual Page -- http://php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/116323 Del: integrated -- https://master.php.net/note/delete/116323/integrated Del: useless -- https://master.php.net/note/delete/116323/useless Del: bad code -- https://master.php.net/note/delete/116323/bad+code Del: spam -- https://master.php.net/note/delete/116323/spam Del: non-english -- https://master.php.net/note/delete/116323/non-english Del: in docs -- https://master.php.net/note/delete/116323/in+docs Del: other reasons-- https://master.php.net/note/delete/116323 Reject -- https://master.php.net/note/reject/116323 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201135) next »