SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Nov 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation I want to Include Tell A friend script to my website

    What can i do to add the tell friend script to my website.What can i do.There is having any ready script.....Help me

    with regards
    skdivyaa

  2. #2
    Not yet perfect mattalexx's Avatar
    Join Date
    Oct 2005
    Location
    Taos, NM, US
    Posts
    441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Write a form:
    HTML Code:
    <form method='post'>
    What's your friend's email? <input name='to_email' />
    What's your name? <input name='name' />
    </form>
    Then catch the post with this PHP script:
    PHP Code:
    <?php
    if (isset($_POST['email'])) {
       
    mail(...whatever...);
    }
    ?>
    Matt Alexander
    Alexander Site Design


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
  •