You are here: Re: header() « PHP Programming Language « IT news, forums, messages
Re: header()

Posted by Dave on 11/15/35 11:22

John Dunlop (usenet+2004@john.dunlop.name) decided we needed to hear...
> Dave wrote:
>
> [re: HTTP Location]
>
> > A full url is only needed if you are redirecting to another server.
> > If you are staying on the same server, then you only need to specify
> > a path.
>
> sounds like you're confusing CGI headers with HTTP headers.
> headers() deals in HTTP, not CGI.

No I'm not confusing them, however I have learned since my post was
made that my answer does rely on the fact that many browsers relax
the standard for the HTTP Location header - so my answer is
technically incorrect for that reason.

The standard states an absolute uri is required for redirection,
but browsers relax this by allowing a relative uri and prepend
the most recently visited server to it.

--
Dave <dave@REMOVEbundook.com>
(Remove REMOVE for email address)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация