Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- Tell-a-friend script


bennymack - 3:39 pm on Jun 26, 2005 (gmt 0)


Wouldn't it be wiser to have one script that takes a GET param containing the URL of the link they'd like to send to their friend?

E.G.

http://www.example.com/cgi-bin/tellafriend.cgi?page=http://www.example.com/widgets/furry/blue/

And have that be the link they click to tell their friend. Then you can grab $url and put it in the email. Seems sane, unless I'm missing another requirement of the script..


Thread source:: http://www.webmasterworld.com/perl/4112.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com