IP address conflicts with other systems on the network what does it mean to filter rogue IPs

Source: Internet
Author: User
Filter Rogue ipfunction deny_bad_ip ($kmLoginIP) {$bad _ip_arr = array (); $bad _ip_sql = "Select Ip,count (IP) num from Anlene_join_ User group by IP has num>100 "; Get Rogue ip$bad_ip_rs = mysql_query ($bad _ip_sql), while ($bad _ip_row = Mysql_fetch_assoc ($bad _ip_rs)) {$bad _ip_arr[] = $ bad_ip_row[' IP '];} if (In_array ($kmLoginIP, $bad _ip_arr)) {return true;} Else{return false;}}

The above describes the IP address and other systems on the network what is the meaning of filtering malicious IP, including the IP address and other systems on the network what is the meaning of conflict, I hope 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.