Re: Re: Does Location: headers constantly

From: Date: Thu, 04 Jul 2002 14:53:37 +0000
Subject: Re: Re: Does Location: headers constantly
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105452@lists.php.net to get a copy of this message
On Thu, Jul 04, 2002 at 11:01:50AM +0100, Ford, Mike [LSS] wrote: > > I can't let this go unchallenged -- what happens if you're sending this to a > browser which *doesn't* honour the "Location: " header, but *is* capable of > displaying any attached page content? The poor user will be left with a > completely blank screen, and no hint of why. In fact, the HTTP/1.1 spec But, which browser is incapable of handling location headers? > (RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616.html) > even says: > > > Unless the request method was HEAD, the entity of the response > > SHOULD contain a short hypertext note with a hyperlink to the > > new URI(s). Oddly, I don't find that text you excerpted on the URI you provided. But, the thing is, I'm under the impression that PHP (and/or Apache?) doesn't send anything else from your script once a Location header is sent. I just confirmed this with two different tests. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#105452) next »