PHP Collection Class Library: Snoopy.class.php

Source: Internet
Author: User

Some features of Snoopy:
Fetching the content of a Web page fetch
Crawl the text content of a Web page (remove HTML tags) fetchtext
Crawl Web links, form fetchlinks Fetchform
Support for proxy hosts
Support Basic username/password Verification
Support Settings user_agent, Referer (routing), cookies and header content (header file)
Supports browser redirection, and can control redirection depth
Ability to extend links in Web pages to high-quality URLs (default)
Submit data and get return value
Support for tracking HTML frames
Pass cookies when redirecting is supported
Requirements PhP4 above can be because PHP is a class that does not need to support the server does not support curl when the best choice



Reference documents:
1, Snoopy (powerful PHP Collection Class) detailed description: http://www.9it.me/article-33.html
2, PHP Snoopy class: Http://www.cnblogs.com/meteoric_cry/archive/2011/05/10/2042512.html

PHP Collection Class Library: Snoopy.class.php

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.