note 19359 rejected from function.header by hholzgra

From: Date: Tue, 12 Mar 2002 14:07:23 +0000
Subject: note 19359 rejected from function.header by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27659@lists.php.net to get a copy of this message
The HTTP/1.1 spec demands that all Location redirects use an absolute URL. For example: Header("Location: /index.php"); is not allowed, you should always use Header("Location: http://mysite.com/index.php"); Most browsers can handle relative redirects under normal circumstances, but to be absolutely sure your script will work as intended, you should stick to the spec and use absolute redirects.

« previous php.notes (#27659) next »