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.