note 73111 added to function.header

From: Date: Fri, 09 Feb 2007 09:22:57 +0000
Subject: note 73111 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-123167@lists.php.net to get a copy of this message
We experienced some very odd problems with an iframe setup that used header('Location:'); somewhere in the flow. On our Mac machines (Safari, Firefox) the whole setup just stalled, but on our XP machines (IE, Firefox, Opera) it worked just fine! The solution to the problem was to use exit(); after the header('Location:');. Don't know if this only is a problem for our setup. Just a little reminder to always use exit(); ! It will save you alot of gray hairs!!! ---- Server IP: 195.184.96.15 Probable Submitter: 87.49.114.39 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/73111 Del: integrated -- https://master.php.net/note/delete/73111/integrated Del: useless -- https://master.php.net/note/delete/73111/useless Del: bad code -- https://master.php.net/note/delete/73111/bad+code Del: spam -- https://master.php.net/note/delete/73111/spam Del: non-english -- https://master.php.net/note/delete/73111/non-english Del: in docs -- https://master.php.net/note/delete/73111/in+docs Del: other reasons-- https://master.php.net/note/delete/73111 Reject -- https://master.php.net/note/reject/73111 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123167) next »