Guest User

Untitled

a guest
Jul 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <?php
  2.  
  3. $list_ip=fopen('list_ip.txt', 'a+');
  4. $read_ip=fread($list_ip, filesize('list_ip.txt'));
  5. global $all_ip;
  6. $all_ip= explode(',', $read_ip);
  7. function checker($checker){
  8. foreach ($all_ip as $ip) {
  9. if ($checker==$ip){
  10. return 1;
  11.  
  12. }
  13. }
  14. return 0;
  15. }
  16.  
  17. ?>
Add Comment
Please, Sign In to add comment