Andreas Korthaus: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

Beitrag lesen

Hi!

Ausgabe:

Warning: file_get_contents(http://traffics-tibet-comfort4.de/tibet.php?stp=2&ixp=pauschal&tdm=&tdx=&typ=P&epc=2&ka1=0&ka2=0&ka3=0&kpc=&kpa=&hmi=ALLE&stc=&zac=*&vpc=*&vnt=0&bst=&htn=INSOTEL CL.CALA MAND&typ=P&ixp=pauschal&cfg=0080010000000000&thm=http%3A%2F%2Fwww.sunstore-reisen.cc%2Fskin_browser%2F&sub=all&out=detail&dsi=PMI) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request...

Du hast Leerzeichen im Request-String, das ist nicht erlaubt. Du musst die per Parameter übergebenen Werte ggfs. per urlencode() bearbeiten. Allerdings weiß ich in der Query nicht, was jetzt zu Deiner Query gehört, und was nur ein Wert eines Parameters ist.

Grüße
Andreas

--
SELFHTML Feature Artikel: http://aktuell.de.selfhtml.org/artikel/