Forums

Give help. Get help.

  • # July 30, 2009 at 10:02 am

    Hi all

    I’ve just found this site and it looks fantastic.

    I’m new to this game of website design, you could call me a virgin, so please be gentle with me and
    do not use lots of those impossible to as yet understand words and abbreviations!!!!

    I’ve tried to implement A Nice & Simple Contact Form but the emails just end up in my junk box.

    Apart from that it looks like it works fine but I will build the form into the template that I have developed.

    What should I do differently?

    What should I look out for when making this go live as I want it to work for whoever uses it?

    Thanks guys and gals.

    Justin

    # February 3, 2010 at 2:34 pm

    Hi I"m new to this php stuff, but I’m trying to use the form as well and I’m having problems to. when ever I try a test it goes to some error page and no email gets sent

    I’m using a windows server I’m not sure if thats the problem, but please can someone help me out…

    contact engine php;

    Code:
    < ?php $EmailFrom = "$Email"; $EmailTo = "andre.cameron@gmail.com"; $Subject = "City Sightseeing Toronto Contact Form"; $Name = Trim(stripslashes($_POST['Name'])); $Tel = Trim(stripslashes($_POST['Tel'])); $Email = Trim(stripslashes($_POST['Email'])); $Message = Trim(stripslashes($_POST['Message'])); // validation $validationOK=true; if (!$validationOK) { print "“;
    exit;
    }

    // prepare email body text
    $Body = “”;
    $Body .= “Name: “;
    $Body .= $Name;
    $Body .= “n”;
    $Body .= “Tel: “;
    $Body .= $Tel;
    $Body .= “n”;
    $Body .= “Email: “;
    $Body .= $Email;
    $Body .= “n”;
    $Body .= “Message: “;
    $Body .= $Message;
    $Body .= “n”;

    // send email
    $success = mail($EmailTo, $Subject, $Body, “From: < $EmailFrom>“);

    /* Modification by Toni for Windows servers */
    ini_set(“sendmail_from”, “$Email”);

    // redirect to success page
    if ($success){
    print ““;
    }
    else{
    print ““;
    }
    ?>

    contact us form;

    Code:
    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    City-Sightseeing Toronto Contact Form

    A Nice & Simple Contact Form

    City Sightseeing Toronto is located at:

    249 Queens Quay West. Toronto, ON M5J 2N5

    Telephone: 416-410-0536

    Email: info@citysightseeingtoronto.com

    Please fill out all the information below and we’ll get in touch with you as soon as possible.






    Thanks in Advance

    # February 16, 2010 at 1:25 pm

    I figured out what the issue was….I had a htaccess file on my server. not sure what it was doing there, but that caused alot of issues I was having. hope that helps some of you who had the same issue

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag