PHP Doku:: Perform custom request - function.http-request.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPHTTP Funktionenhttp_request

Ein Service von Reinhard Neidl - Webprogrammierung.

Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
HTTP Funktionen

<<http_request_method_unregister

http_redirect>>

http_request

(PECL pecl_http >= 1.0.0)

http_requestPerform 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 der Request-Optionen.

Parameter-Liste

method

Request method

url

URL

body

Request body

options

Request-Optionen

info

Request/Response-Information

Rückgabewerte

Gibt die HTTP-Antwort(en) als String zurück oder FALSE bei Fehlern.


Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
Ein BenutzerBeitrag:
- Beiträge aktualisieren...
halfcountplus at intergate dot com
10.06.2010 15:11
method arg is a define, eg "POST"
You need to install pecl_http to use this.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)