note 116173 deleted from function.header by salathe

From: Date: Fri, 21 Nov 2014 14:52:15 +0000
Subject: note 116173 deleted from function.header by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-200977@lists.php.net to get a copy of this message
Note Submitter: ijm667 at hotmail dot com ---- I have spent a long time trying to figure out why Safari was not being redirected correctly using a HTTP Location header. This was due incorrect space being output after the header statement. Safari does not tolerate any output after header("Location: http://www.somewhere.com"); so please be careful to terminate your script with exit or die.

« previous php.notes (#200977) next »