Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- ?>
- Upload is <b><color>WORKING</color></b><br>
- Check Mailling ..<br>
- <form method="post">
- <input type="email" 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>
- <input type="submit" value="Send test ..">
- </form>
- <br>
- <?php
- $email = trim ($_POST['email']);
- if (!empty($email)){
- if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
- if (!empty($_POST['orderid'])){
- $xx = ($_POST['orderid']);
- }
- else{
- $xx = rand();
- }
- mail($email,"Result Report Test - ".$xx,"WORKING !");
- print "<b>send an report to [".$email."] - Order : $xx</b>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement