Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2005
    Posts
    2,444
    Tokens
    0

    Latest Awards:

    Default Tell a Friend Form-Will pay!

    Hi,

    I need someoneto make me a tell a friend form where it goes on your website and you can enter your friends email and then it sends an email all about your website-I will pay 1 icm and for more details please PM me!

    Thanks :p

  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Ok very easy to do.

    here it be

    the form (exsample)
    HTML Code:
     <form name="tellpeople" method="post" action="tell_friend.php">
    Tell a firiend:  
      <input type="text" name="email"><input type="submit" value="Tell A friend"  />
    </form>
    tell_friend.php
    PHP Code:
    </php
    //get there email
    $email$_POST['email'];    

    // title goes in this one
    $title 'EMAIL TITLE HERE';

    //put message where it says
    $message 'MAIN MESSAGE ADVERTISNG YOUR SITE HERE';

    //change to what ever u like
    $from "From: [email protected] \r\n";  

    //this sends the email to them
    mail ($email$title$message$from);

    //this sends browser to ether thankyou page, or back to start, change url to sute

    header("Location: http://thybag.co.uk/");
    ?> 

Posting Permissions

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