| Dan Vendel *GOF* 2004-08-24, 7:14 am |
| Danielle Kunowski wrote:
> I am creating a site for a pub that will have a page listing upcoming events
> like special bands visiting etc. I thought it would be a great idea if I
> could put a facility in that allows people to email information for a
> particular event to their friends. At the bottom of an article there could
> be a text link saying "email this to friend" then they could just fill in
> the friends address and the site would send off a description and link to
> the address they've entered.
>
> I know I've seen real-estate sites that allow you to email listings off in
> this way so I'm sure it can be done.
>
> Does anyone know how I would go about it? What sort of technology would I
> need to use?
>
To safely use such gadget (safe, as in "anyone should be able to send"
and "you should not be spammed"), you will need a script in your server
that takes care of the send procedure. You also need the script to grab
the IP number of the one who sends in order to protect your site from
being the tool for spammers (they can use the gadget to send thousands
of mails to people - with your site as the sender).
Find out which script language your server supports, then go to e.g.
www.hotscripts.com and search for "send to friend" scripts that are
using the language you need. There are several, both commercial and free.
--
Dan Vendel - *GOF*
Contact: http://www.proformica.com/en/contact.shtml
Formmail tutorial: http://www.proformica.com/en/formmail_tutorial.shtml
Nested tables: http://www.proformica.com/en/nested_table_demo.shtml
SEO: http://www.proformica.com/en/search...imization.shtml
SE Utility: http://www.proformica.com/en/advanced_web_ranking.shtml
Search Dreamweaver newsgroup: http://www.proformica.com/google.html
|