Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $list_ip=fopen('list_ip.txt', 'a+');
- $read_ip=fread($list_ip, filesize('list_ip.txt'));
- global $all_ip;
- $all_ip= explode(',', $read_ip);
- function checker($checker){
- foreach ($all_ip as $ip) {
- if ($checker==$ip){
- return 1;
- }
- }
- return 0;
- }
- ?>
Add Comment
Please, Sign In to add comment