Mailinglisten-Archive |
Hi, > ich möchte mit fsockopen und gets eine seite ziehen, > dies funktioniert bei einigen servern/hostern und bei anderen weniger, > bzw bekomme die fehlermedlung:301 moved permanently - mit dem gleichen > script. diese Fehlermeldung spricht doch für sich - die Seite ist umgezogen. Dein Browser zeigt Dir das nicht unbedingt... Zitat von http://www.w3.org/Protocols/HTTP/1.0/spec.html#Status-Codes 301 Moved Permanently The requested resource has been assigned a new permanent URL and any future references to this resource should be done using that URL. Clients with link editing capabilities should automatically relink references to the Request-URI to the new reference returned by the server, where possible. The new URL must be given by the Location field in the response. Unless it was a HEAD request, the Entity-Body of the response should contain a short note with a hyperlink to the new URL. If the 301 status code is received in response to a request using the POST method, the user agent must not automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued. Note: When automatically redirecting a POST request after receiving a 301 status code, some existing user agents will erroneously change it into a GET request. Gruß, Reinhold -- Reinhold Jordan WWW: http://reinhold.bachrain.de Mail: reinhold_(at)_bachrain.de "Do you pine for the nice days of minix-1.1, when men were men and wrote their own device drivers?" Linus
php::bar PHP Wiki - Listenarchive