wyatt8740

useragent.php

Jan 21st, 2015
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2. $useragent=$_SERVER['HTTP_USER_AGENT'];
  3. echo 'User Agent ';
  4. echo $useragent;
  5. $file=fopen("last.txt","a+");
  6. echo fwrite($file,"$useragent\n");
  7. fclose($file);
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment