note 86915 added to function.header

From: Date: Mon, 10 Nov 2008 13:24:17 +0000
Subject: note 86915 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-146349@lists.php.net to get a copy of this message
Notice that when using <?php header("Location: http://www.example.com/"); ?> RFC 2616 states that you must use an absolute URI. Correct: <?php header("Location: http://www.example.com/test.php"); ?> Incorrect: <?php header("Location: www.example.com/test.php"); ?> <?php header("Location: test.php"); ?> ---- Server IP: 195.184.96.15 Probable Submitter: 85.81.21.154 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/86915 Del: integrated -- https://master.php.net/note/delete/86915/integrated Del: useless -- https://master.php.net/note/delete/86915/useless Del: bad code -- https://master.php.net/note/delete/86915/bad+code Del: spam -- https://master.php.net/note/delete/86915/spam Del: non-english -- https://master.php.net/note/delete/86915/non-english Del: in docs -- https://master.php.net/note/delete/86915/in+docs Del: other reasons-- https://master.php.net/note/delete/86915 Reject -- https://master.php.net/note/reject/86915 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146349) next »