Status code and Header("Location: ")

From: Date: Thu, 20 Jun 2002 18:27:25 +0000
Subject: Status code and Header("Location: ")
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103186@lists.php.net to get a copy of this message
PHP Manual says there are two special cases for headers, Location and Status. Not to concerned about status here, but it states that Location: always returns an status code 302. Now HTTP/1.1 depreciates 302 since browsers were incorrectly implementing it anyways. It was replaces 302 with the MUSTS 303 and 304. (304 is the correctly handled 302, and 303 is the current incorrect way most browsers implement 302) Since PHP seems to always return 302, is it possible to force HTTP/1.1 compliance and return 303 or 304 depending on my situation? -Peter __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com

« previous php.general (#103186) next »