HTTP::negotiateLanguage (Previous) (Next) HTTP_Client

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTTP::redirect

HTTP::redirect -- redirects the client

Leírás

This function redirects the client. This is done by issuing a Location: header and exiting.

Paraméterek

  • string $url - the new URL, where to client should be redirected to.

Megjegyzés

Ez a függvény meghívható statikusan.

Avoid sending any kind of data to the client before calling redirect().

The location header requires an absolute URL. If not given, redirect() tries to build one from $url. So if the redirect fails, set the absolute URL manually as argument.

HTTP::negotiateLanguage (Previous) (Next) HTTP_Client

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.