Guest User

Untitled

a guest
Apr 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <?php
  2.  
  3. $file = file_get_contents( dirname(__FILE__)."/backtrace.txt" );
  4. $file = explode("\n",$file);
  5.  
  6. foreach( $file as $key => $value )
  7. {
  8. if( strpos($value,"120.146.82.138") === false )
  9. {
  10. unset( $file[$key] );
  11. }
  12. }
  13.  
  14. $file = implode("\n",$file);
  15.  
  16. file_put_contents( dirname(__FILE__)."/backtrace_.txt", $file);
Add Comment
Please, Sign In to add comment