if (@$_REQUEST['submit']) { $to = 'info@e-infinitysoftware.com'; $head = "From: " . @$_REQUEST['email']; $sub = 'Information Request'; $cont = "\n\n"; $cont .= ' Name: '.@$_REQUEST['name']."\n"; $cont .= ' Company: '.@$_REQUEST['company']."\n"; $cont .= ' MC Number: '.@$_REQUEST['mcnum']."\n"; $cont .= ' City: '.@$_REQUEST['city']."\n"; $cont .= ' State: '.@$_REQUEST['state']."\n"; $cont .= ' Zip: '.@$_REQUEST['zip']."\n"; $cont .= ' Country: '.@$_REQUEST['country']."\n"; $cont .= ' Work Phone: '.@$_REQUEST['phone']."\n"; $cont .= ' Fax: '.@$_REQUEST['fax']."\n"; $cont .= ' Email: '.@$_REQUEST['email']."\n"; $cont .= ' Website: '.@$_REQUEST['website']."\n"; $cont .= ' Comments: '.@$_REQUEST['comments']."\n"; $cont .= ' Broker Agent: '.@$_REQUEST['Broker_Agent']."\n"; $cont .= ' Broker Lite: '.@$_REQUEST['Broker_Lite']."\n"; $cont .= ' Broker Plus: '.@$_REQUEST['Broker_Plus']."\n"; $cont .= ' Broker Pro: '.@$_REQUEST['Broker_Pro']."\n"; $cont .= ' Broker Fax: '.@$_REQUEST['Broker_Fax']."\n"; $cont .= ' Web Track: '.@$_REQUEST['Web_Track']."\n"; $cont .= ' EDI: '.@$_REQUEST['EDI']."\n"; $cont .= ' Referral: '.@$_REQUEST['referral']."\n"; $cont .= "\n\n"; if (mail($to,$sub,$cont,$head)) { $results = 'Submission successful. Thank you for your inquiry.'; } else { $results = 'There was a problem sending your inquiry. Please try again later.'; } } ?>
|
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||