sloppycode.net
HtmlSource class
Retrieve the HTML source from a website, and parse/strip its tags.


Download source + documentation

The HtmlSource class is a simple way of retrieving, and stripping, HTML source from any website, given a URL. It features properties for all of the possible request headers you can send (including Referrer and User agent), and also support for both GET and POST (POST requests are made up automatically by the class), and also cookies.

The class also has properties for stripping the html and removing the Response headers that are returned after a HTTP request.

This class like all PHP classes on sloppycode.net was made in PHP 3.x or 4, so unfortunately isn't guaranteed to be error free anymore.



› Home
› C#
› Snippets
› Articles
› Tools
› Taglines
› ASP
› Dictionary Object
› FSO
› Unix cheat sheet
› Gaming
› CSS
› Yak
› Umbraco
› About
› Contact
› Privacy
› Projects
› Search
› Sitemap





Buy on Amazon



Buy on Amazon



Buy on Amazon



Buy on Amazon