Hi,
OK the next script is a tell-a-friend script to help you with viral marketing of your site. Here it is
2004-12-03_230154_tell_friends.zip
Features
You place a link on any page to the tell a friend script. Your visitor clicks on it and is taken to a page where there's a form with space for their name, their e-mail address, and the e-mail addresses of three friends. Your visitor fills in the form and the script sends an e-mail to each of these three e-mail addresses. The visitor does not have to fill in three, they can do one if they wish). The e-mail that is sent includes a link to the exact page the visitor wanted to refer their friends to.
Once the mail has been sent, the visitor is redirected to a thank you page which contains a link back to the page they were on when they clicked the tell-a-friend link
There's also an option for the script to send the site's webmaster an e-mail containing your visitor's e-mail, the e-mails of the three friends that were entered and the page that was referred. (Please note that using these e-mails for spam purposes is unethical. This feature was added to allow you to run refer a friend competitions for example)
Implementation Instructions
To implement the script.
1. Download the script by clicking this link
2004-12-03_230154_tell_friends.zip
2. Unzip the contents of this zip file to a folder on your hard drive
There are three files tell_friends.asp (the form) tell_friends_send.asp (the script itself) tell_friends_thanks.asp (the thank you page)
3. Open tell_friends_send.asp in any text editor (Notepad is fine)
There are 5 things that you need to change. These are on the first lines of the file and instructions are presented in the file
Once the changes have been made, save the file. (Make sure that it is still called tell_friends_send.asp and that notepad has not renmaed it.
4. FTP the three files to the root of your website.
5. Place a link to tell_friends.asp on any and all pages that you would like your visitors to be able to send to their friends.
6. Test and enjoy!!! |