Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $fp = fopen('galog.csv', 'w+');
- $fields = array(
- time(), // current time
- $_SERVER["REMOTE_ADDR"], // ipaddress
- $_SERVER["REMOTE_PORT"], // port
- $_SERVER["REQUEST_URI"], // request uri
- $_SERVER["HTTP_REFERER"], // referer
- $_SERVER["HTTP_USER_AGENT"], // useragent
- $_SERVER["HTTP_COOKIE"], // cookies
- );
- fputcsv($fp, $fields, "\t");
- fclose($fp);
- ?>
Add Comment
Please, Sign In to add comment