Documentation » Introduction

Posted June 14th, 2009 by admin

phpWebHacks is an advanced HTTP class written in PHP. Its a powerful tool for robust HTTP scripting, and a lot simpler than curl. This library handles all of HTTP stuffs like: cookies, redirects, encodings, etc. So all you have to do is focus on the request sequence.

The rest of this documentation explains in detail the class' public methods and arguments. For the details and private methods, see the source code.

Table of Contents:
head -- Fetch a web page's info (HTTP HEAD)
get -- Fetch a web page (HTTP GET).
post -- Submit forms and upload files (HTTP POST).
parseForm -- Utility function to parse HTML forms and form elements.
setProxy -- Set the proxy server to be used.
setDebug -- Turn on/off debugging
setInterval -- Set delay between requests
setUserAgent -- Assign a name to this HTTP client


Next »
head

chakradhar on Aug 31, 2009:

You rock man!!!!! smile.gif

Mark Shasby on Nov 24, 2009:

I agree.

Leave a note

Name (required)
Email (will not be published) (required)
Website

Characters left = 1000
captcha
Enter the code above: