HTTP_Client::detach() HTTP_Client::head()

HTTP_Client

PEAR Manual


HTTP_Client::get()

HTTP_Client::get() -- Sends a 'GET' HTTP request

Synopsis

      require_once 'HTTP/Client.php';
     

integer HTTP_Client::get ( string $url , mixed $data = NULL , boolean $preEncoded = FALSE )

Description

This package is not documented yet.

Parameter

string $url

URL

mixed $data

additional data to send

boolean $preEncoded

Whether the data is already urlencoded

Return value

returns HTTP response code

Throws

throws PEAR_Error

Note

This function can not be called statically.



HTTP_Client::detach() HTTP_Client::head()

HTTP_Client

PEAR Manual