downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<HttpRequest::clearHistoryHttpRequest::enableCookies>
Last updated: Thu, 26 Jun 2008

HttpRequest::__construct

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::__construct — HttpRequest constructor

Description

public void HttpRequest::__construct ([ string $url [, int $request_method = HTTP_METH_GET [, array $options ]]] )

Instantiate a new HttpRequest object.

Parameters

url

the target request url

request_method

the request method to use

options

an associative array with request options

Errors/Exceptions

Throws HttpException.



add a noteadd a note User Contributed Notes
HttpRequest constructor
There are no user contributed notes for this page.




<HttpRequest::clearHistoryHttpRequest::enableCookies>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs