PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
This function redirects the client. This is done by issuing a Location: header and exiting.
Beispiel 43-1. Redirecting to another site
|
Beispiel 43-2. Local redirect
|
Diese Methode kann statisch aufgerufen werden.
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.
Zurück | Zum Anfang | Nach vorne |
HTTP::negotiateLanguage | Nach oben | HTTP_Client |