SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Nov 13, 2006, 16:09 #1
- Join Date
- Nov 2006
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Nov 13, 2006, 16:20 #2
- 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>
PHP Code:<?php
if (isset($_POST['email'])) {
mail(...whatever...);
}
?>Matt Alexander
Alexander Site Design
Bookmarks