Advertisement
r13y5h4

S3nd_L1nK_D0wnL04d

Dec 13th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <html>
  2. <body>
  3. <FORM>
  4. e-mail :
  5. <INPUT TYPE=TEXT NAME=email><BR><BR>
  6. <INPUT TYPE=SUBMIT VALUE="S3nd L1nk">
  7. </FORM>
  8. <?php
  9. 'S0urc3 S3nd L1nk D0wnl0ad'
  10. 'upload to your server'
  11. 'input your email and check l0g.txt'
  12. 'code by r13y5h4 '
  13. $x = $_POST['txt'];
  14. $string = $_REQUEST['email'] ;
  15. $subject = 'Link download CN-ZINE';
  16. $message = 'https://link-download.com/xxx';
  17. $to = $_REQUEST['email'] ;
  18. $subject = 'LINK DOWNLOAD CN-ZINE';
  19. $headers = 'From: info[at]codenesia[dot]com' . "\r\n" .
  20. 'MIME-Version: 1.0'. "\r\n" .
  21. 'Content-type: text/plain; charset=iso-8859-1'. "\r\n" .
  22. 'Reply-To: info[at]codenesia[dot]com' . "\r\n" .
  23. 'Reply-To: Recipient Name <info[at]codenesia[dot]com>' . "\r\n" .
  24. 'X-Mailer: PHP/' . phpversion();
  25. if (isset($email))
  26. if (empty($email))
  27. print("Isi e-mail dengan benar <BR>\n");
  28. else
  29. {
  30. if (ereg("^.+@.+\\..+$", $email))
  31. {
  32. mail($email, $subject, $message, $headers);
  33. $filename = 'log.txt';
  34. $fp = fopen($filename, "a+");
  35. $write = fputs($fp, $string.'+'.Date("d F Y")."\r\n");
  36. fclose($fp);
  37. print("Alamat e-mail $email valid ,L1nk d0wnl0ad sudah dikirim ke email<BR>\n");
  38. }
  39. else
  40. print("Alamat e-mail $email tidak valid <BR>\n");
  41. }
  42. ?>
  43. </body>
  44. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement