Where is the hero, how to deal with the data collected by IP

Source: Internet
Author: User
Where is the hero, how to collect data to be sealed IP,
Heroes, how to collect data is blocked IP how to do, how to determine the site are used by the imitation of the program Ah, we also change how to avoid open these imitation collection procedures AH

------Solution--------------------

No way, you can pretend to be a customer to complain about them,
------Solution--------------------
Sleep () You don't have to be too violent. We now collect all the time is one second to collect it is not good for everyone is you suddenly concurrency so high everyone is not good, slowly he will not seal.
------Solution--------------------
This one... In addition to you change IP, look for proxy server, fake IP, no other good way ...
People see your IP frequently access, directly iptables screen off your IP is very simple ...
------Solution--------------------
The seal is crazy! What do you know about the information that people are working hard for?
------Solution--------------------
Crazy, since you know the IP, then use another server to collect the chant
Lower the frequency.
------Solution--------------------
Sleep (60)? If I were you, I'd seal your IP.

I've been collecting it every few minutes.
------Solution--------------------
A few minutes, so the acquisition speed will be very slow, right?
But there seems to be no way, after all, is someone else's things
------Solution--------------------
You can fake the IP with curl.
$headers [' client-ip '] = $headers [' x-forwarded-for '] = ' 192.168.1.1 '; IP with the requested address
$HEADERARR = Array ();
foreach ($headers as $n = = $v) {
$HEADERARR [] = $n. ': '. $v;
}
$refer = $_server["Http_referer"]

curl_setopt ($ch, Curlopt_httpheader, $HEADERARR); Constructing IP
  • 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.