Flag_activity_clear_top a solution to the IP that is blocked when PHP is collected

Source: Internet
Author: User
On the Internet to find some information are not found, Kung fu is not a conscientious, in looking for when there is a person mentioned with the search engine crawler spider useragent. Although only to mention a little bit I still think of, List my solution,
1. Use Snoopy or curl to transmit the useragent value of the search engine crawler.
View search engine Crawler's useragent value: http://www.jb51.net/yunying/29357.html
2. Use Snoopy or curl to pass referer values.
such as: $snoopy->referer = ' http://www.google.com ';
$header [] = "referer:http://www.google.com/";
3. Use the Snoopy or Curl proxy.
such as: $snoopy->proxy_host = "59.108.44.41";
$snoopy->proxy_port = "3128";
4. Use Snoopy or Curl to prevent IP from being built.
such as: $snoopy->rawheaders[' x_forwarded_for '] = ' 127.0.0.1 ';
5. Use PHP with a re-routed program so that you get a new IP address.
6. If it is found that the re-routing or display is blocked, it is possible that the other side blocked your MAC address, now the router has the ability to forge a Mac, you can write programs or manually modify the MAC address of the router, there is also a special modification network card MAC address tool.

The above describes the Flag_activity_clear_top PHP collection is blocked IP solution, including the flag_activity_clear_top aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.