Advertisement
Guest User

Untitled

a guest
Aug 9th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $fn = 'accesslog_' . date( 'm-y' ) . '.txt';
  15. $content = date( 'd.m.y G:i:s' ) . ' ' . $_SERVER['REMOTE_ADDR'] . ' ' . $_SERVER['REMOTE_HOST'] . ' ' . $_SERVER['HTTP_USER_AGENT'] . '
  16. ';
  17.  
  18. if (is_writable( $fn )) {
  19. if (!$handle = fopen( $fn, 'a' )) {
  20. echo '' . 'Kann die Datei ' . $fn . ' nicht öffnen<br />';
  21. exit( );
  22. }
  23.  
  24.  
  25. if (!fwrite( $handle, $content )) {
  26. echo '' . 'Kann in die Datei ' . $fn . ' nicht schreiben<br />';
  27. .......................................................................
  28. ................................
  29. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement