Mailinglisten-Archive |
Arash Yalpani schrieb:
>
> hi liste!
>
> kann man mit dem befehl header() zusaetzlich zur location
> auch ein target angeben?
Nope!
Siehe http://rfc.fh-koeln.de/rfc/html/rfc2616.html#134
Ist wirklich ein Bookmark wert, wenn man in Web macht ;-)
Marian
14.30 Location
The Location response-header field is used to redirect the
recipient
to a location other than the Request-URI for completion of
the
request or identification of a new resource. For 201
(Created)
responses, the Location is that of the new resource which was
created
by the request. For 3xx responses, the location SHOULD
indicate the
server's preferred URI for automatic redirection to the
resource. The
field value consists of a single absolute URI.
Location = "Location" ":" absoluteURI
An example is:
Location: http://www.w3.org/pub/WWW/People.html
php::bar PHP Wiki - Listenarchive