Tell-a-Friend PHP Script
This is the exact script I use on this site for the tell-a-friend form you see at the bottom of this page. Please remember that this is a PHP script and so your server will be have to be PHP enabled to use it. First, you can create/copy/edit this code for the form:
And then here is the source used for the tellafriend2.php that parses the form data and sends the email:
Parts to change in the script:
1) $subject = "$uname says Check This Out!"; - this is the subject of the email being sent and $uname is the user's email who is sending this
2) the last line you can leave all the stuff in the beginning and change "/content.php?content=contact.php&op=3" to where you want the visitor to be sent after they send the form. Ex: "thankyou.php"
That's all there is to it. If you have any questions then feel free to contact us and ask.
TUTORIAL © EPASTURE.COM. DO NOT REPRODUCE WITHOUT PERMISSION.
Sponsor
 The Official MindGem Download Community! Download Music, Movies, Games and More!
Five More Tutorials
Adjusting Levels in Photoshop This tutorial will show you how to improve your photographs in photoshop using Levels. ViewThe Napkin Bra Ever bored at the family dinner or on a date? Well impress your family/date with this interesting party trick... sort of. View Tell-a-Friend PHP Script Why go through the pain on installing a pre-made tell-a-friend script when its so easy to make one yourself? View Adjusting Curves in Photoshop This Photoshop tutorial will show you how to use curves to adjust brightness and contrast in your photos. View
Suggest a Tutorial
We're always looking for fresh ideas on tutorials we can create that would interest you guys, so let us know by clicking here.
|