note 48978 added to function.header

From: Date: Thu, 13 Jan 2005 18:08:40 +0000
Subject: note 48978 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-83209@lists.php.net to get a copy of this message
Be sure to check if you haven't got <? ?> <? ?> somewhere in your script if you use header("Location: urlhere") because that way it will output a newline after your header and therefore the header will not be sent! You have to be sure that no character, not even a space or newline, is sent after the header. I know this is noted before but be sure to check on this one, it can be a pretty hard to find issue. Rico. ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48978 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48978&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48978&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48978&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48978&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48978&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48978&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48978&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83209) next »