PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
HTTP_Client::detach() | Up | HTTP_Client::head()