note 47307 added to function.header

From: Date: Wed, 10 Nov 2004 21:48:08 +0000
Subject: note 47307 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-80375@lists.php.net to get a copy of this message
As 'alex at primafila dot net' said php does some really weird things if you don't do an absolute URI. One notable problem I found was that on my Solaris with Apache 2 n PHP 4.3.9 the URL on the browser doesn't show properly. say if you did something like: header("Location: {$_SERVER['REQUEST_URI']}&test=1"); The browser would still show the old url. I read in an old post that you should add "\n" to fix this but it doesn't seem to work anymore. So do as alex said. ;) Regards. ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47307 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47307&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47307&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47307&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47307&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47307&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47307&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47307&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#80375) next »