Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    pls correct this contact php script

    <?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");
    ?>

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,546
    Thanks
    45
    Thanked 259 Times in 256 Posts
    What do you mean fix? Obviously its canned code, are you expecting us to modify it for you?


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •