This class can be used to automate retrieval and processing of Web pages. It can send HTTP GET, POST and HEAD requests to retrieve Web pages. phpWebhacks is an advanced HTTP client, a utility for HTTP scripting. It simulates a web browser, only that you use it with lines of code rather than mouse and keyboard. Using pure PHP, no Curl or other dependencies required. Features: * HTTP/1.1 * HEAD, GET, POST * Upload files * Support https * Support HTTP cookies * Support HTTP redirects and Meta-refresh redirects * Support HTTP Authentication * Support proxy server * Support gzip encoding * Logging of HTTP streams for full debugging * Parsing HTML forms * Custom User-Agent Build cool scripts in minutes: * GMail/Yahoo/MSN contacts grabber * YouTube video downloader * HTTP mailer * and many more.