Advertisement
dragondevile

Untitled

Jul 21st, 2018
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Upload is <b><color>WORKING</color></b><br>
  2. <br>Checking Mailling ..<br><br>
  3. <form method="post">
  4. <input placeholder = "name@exmple.com" type="email" name="email" value=""required >
  5. <input type="submit" value="Send >>">
  6. </form>
  7.  
  8. <?php
  9. error_reporting(0);
  10.  
  11. if (!empty($_POST['email'])){
  12. $xx = rand();
  13. mail($_POST['email'],"Important Information - ".$xx,"WORKING !");
  14. print "<b>send an report to [".$_POST['email']."] - $xx</b> <br> <br>";
  15. $jj = basename($_SERVER['SCRIPT_NAME']);
  16.  
  17.  
  18. }
  19. if(isset($_GET["kill"]))
  20. {
  21. $jj = basename($_SERVER['SCRIPT_NAME']);
  22.  
  23. if (!unlink($jj))
  24. {
  25. echo ("<br><br>php Files = '0' <br>");
  26. }
  27. else
  28. {
  29. echo ("<br><br>php Files = '1' <br>");
  30. }
  31. }
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement