How does PHP collect this website to prevent collection?

Source: Internet
Author: User
PHP collection experts! How does this website prevent collection? I recently collected a website, but I don't know what anti-collection technology I used? Please refer to the following link for more information: http://www.leisurelakesbikes.com ?, I don't know what you want to collect. anti-leeching may be used for pictures and so on! How does this website prevent collection?
I recently collected a website, but I don't know what anti-collection technology I used? Please advise
Http://www.leisurelakesbikes.com/how can we collect him?

------ Solution --------------------
I don't know what content you want to collect. anti-leeching may be used for images and other such items. it is not difficult to forge Referer in your access request. you can search for a lot of related information.
------ Solution --------------------
Build an HTTP request. as long as IE can access it, it will certainly be able to collect.
------ Solution --------------------
PHP code
$ Url = 'http: // www.leisurelakesbikes.com/product/specializedtransitioncompracingbike2011.aspx? & Id = 16728 '; $ curl = curl_init ($ url); curl_setopt ($ curl, CURLOPT_AUTOREFERER, 1); curl_setopt ($ curl, CURLOPT_RETURNTRANSFER, 1 ); $ html = curl_exec ($ curl); echo $ html;
------ Solution --------------------
Almost all webpages are contained in a hidden form. you should pay attention to the fact that ajax and session are used.

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.