...

View Full Version : pls correct this contact php script



mk230580
11-13-2010, 03:47 PM
<?php

$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
//sales@yourcompany.com.com, yourname@gmail.com
mail("sales@yourcomapny.com.,youname@gmail.com","Send Enquiry to Contact Form ","Form data:

Company Name : " . $_POST['company'] . "
Contact Person : " . $_POST['name'] . "
Email Id : " . $_POST['email'] . "
Phone No : " . $_POST['phone'] . "
Fax : " . $_POST['fax'] . "
Address : " . $_POST['address'] . "
City / State : " . $_POST['city'] . "
Country : " . $_POST['country'] . "
Massege : " . $_POST['massege'] . "


powered by Manoj Kumar.
");
header("location:index.html?ep=success");
?>

Keleth
11-13-2010, 03:53 PM
What do you mean fix? Obviously its canned code, are you expecting us to modify it for you?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum