Documentation » Introduction
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
head
Mark Shasby on Nov 24, 2009:
chakradhar on Aug 31, 2009: