Mailinglisten-Archive |
Arne Blankerts wrote: > > On Wed, 26 Apr 2000 13:19:15 +0200, Hartmut Holzgraefe wrote: > > >> >wie kann man direkt in php automatisch zu einer anderen Seite umleiten > > >> Header('Location: page.html'); > >> > >und die URL hinter Location muá vollst?ndig sein, > >d.h. http://server.name/vollstaendiger/pfad/dateiname.ext > > NEIN. Stimmt nicht. mag sein, daß es in manchen Konstellationen auch ohne geht, aber in der aktuellen HTTP_Spezifikation (RFC2068) heist es ganz eindeutig: 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 URL for automatic redirection to the resource. The field value consists of a single absolute URL. Location = "Location" ":" absoluteURI An example is Location: http://www.w3.org/pub/WWW/People.html -- Hartmut Holzgraefe hartmut_(at)_six.de http://www.six.de
php::bar PHP Wiki - Listenarchive