Results 1 to 2 of 2

Thread: Php contact form

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2010
    Posts
    1

    Default Php contact form

    Hi

    I wonder if anyone can help, I have designed a flash site and its using PHP to parse my contact form,


    this is my php

    <?php


    $sendTo = "degrees28@hotmail.co.uk";
    $subject = "Enquiry from Your Website";


    $headers = "From: " . $_POST["email"]. "\r\n";

    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";

    $headers .= "Return-path: " . $_POST["email"]. "\r\n\r\n";


    $message = "Company: " . $_POST["message"] . "\r\n" . "Subject: " . $_POST["message2"]. "\r\n" . "Message: " . $_POST["message3"];


    mail($sendTo, $subject, $message, $headers);

    ?>


    This does not work , and when i said something to SPRY, they mentioned something about spam????


    Can anyone tell me if SPRY uses PHP as a language and why i cant get my form to send in flash???


    Thanks

  2. #2
    Senior Member Power Poster
    Join Date
    Dec 2007
    Posts
    359

    Default

    Quote Originally Posted by degrees28 View Post
    Can anyone tell me if SPRY uses PHP as a language and why i cant get my form to send in flash???
    Our shared hosting plans do include PHP access, however, you will want to take a look at the PHP mail() Documentation to ensure that your form is not used to send spam.

Bookmarks

Posting Permissions

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