PHP Dokumentation: Function http-request
12. Januar 2010 von werner
http_request
(PECL pecl_http >= 1.0.0)
http_request — Perform custom request
Beschreibung
string http_request ( int $method [, string $url [, string $body [, array $options [, array &$info ]]]] )
Performs a custom HTTP request on the supplied url.
Siehe auch die vollständige Liste derRequest-Optionen.
Parameter-Liste
- method
Request method
- url
URL
- body
Request body
- options
- info
Rückgabewerte
Gibt die HTTP-Antwort(en) als String zurück oder FALSE bei Fehlern.