3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = "arofocus@gmail.com"; $from= "www.pcdindia.com"; $subject="Dealership form has been submitted by $name1"; $name1=$_REQUEST['name1']; $address=$_REQUEST['address']; $telephone= $_REQUEST['telephone'] ; $mobile= $_REQUEST['mobile'] ; $email= $_REQUEST['email'] ; $partner= $_REQUEST['partner'] ; $residence= $_REQUEST['residence'] ; $vat= $_REQUEST['vat'] ; $cst= $_REQUEST['cst'] ; $tin= $_REQUEST['tin'] ; $druglicence= $_REQUEST['druglicence'] ; $companies= $_REQUEST['companies'] ; $area = $_REQUEST['area'] ; $monoply = $_REQUEST['monoply'] ; $Dlcopy = $_FILES['Dlcopy']['name']; $up = explode( ".", $Dlcopy ); $name= $up[0]; $end = end($up); $name1= rand(0,1000000).".".$end; if($Dlcopy!="") { copy ($_FILES['Dlcopy']['tmp_name'],"DL/".$name1 ); } $message=" Name Of the Firm -$name1 Complete Address-$address Telephone Nos.-$telephone Mobile Nos.-$mobile Email Address-$email Name Of Prop./Partner-$partner Residence Address-$residence Vat No-$vat Cst No-$cst Tin No-$tin Drug Licence No-$druglicence Companies with presently working-$companies Area covered-$area Area required for Monoply-$monoply DL and Tin Copy - http://pcdindia.com/DL/$name1 "; $sent = mail($to, $subject, $message, $headers) ; if($sent) { header("location:thanks.php"); } ?>

preferences:
35.59 ms | 402 KiB | 5 Q