Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
"email this website to a friend" how to?
Old 09-28-2007, 03:25 PM "email this website to a friend" how to?
Experienced Talker

Posts: 45
Name: Tonyo
Trades: 0
Hey everyone. On a website that I am working on, I need to include a "email this website to a friend". How would I do this?
master_debator is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-28-2007, 04:35 PM Re: "email this website to a friend" how to?
Defies a Status

Posts: 1,606
Trades: 0
Easy way is to pick up a free or low cost "tell a friend" script. The php versions are a bit safer than html IMO.

Suggest you not use a 3rd party site solution.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 11:17 PM Re: "email this website to a friend" how to?
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
As colbyt said, it would not be a good idea to use an off-site company. This brings up security risks with the form.

PHP would be a better solution, and I'm sure that you can pick up a script that does this for free somewhere.
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 09-28-2007, 11:36 PM Re: "email this website to a friend" how to?
fitnfree's Avatar
Ultra Talker

Latest Blog Post:
Almond Cookie Recall
Posts: 384
Name: Jeni
Location: Wisconsin, USA
Trades: 0
I use JavaScript to do this and it's worked well for me. I never tried a php script, though. Those more savvy in programming would know if that's a better alternative.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
fitnfree is offline
Reply With Quote
View Public Profile Visit fitnfree's homepage!
 
Old 09-28-2007, 11:47 PM Re: "email this website to a friend" how to?
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
Well, you could use Javascript to send the information to PHP. It would make it more appealing to use...but in the overall scheme of things I think that it would be best to run through a server-side language before being sent away to an email.
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 09-29-2007, 10:33 AM Re: "email this website to a friend" how to?
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
It depends it you want the mailserver to send it, and not the actualy user as in a user click send to a friend enters their email, their "friends" emails and submits and it does it. then you need to look at mail() function.

IF however you want the user to send it, then you jsut collect all the variables and make a link with the friend email and all the vars in the address...

I can help if your interested.
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-30-2007, 03:12 PM Re: "email this website to a friend" how to?
Foundationflash's Avatar
Ultra Talker

Posts: 410
Name: Harry Burt
Location: Colchester, Essex, England
Trades: 0
Got to be careful with mail-injection on the PHP particularly though. Either a CAPTCHA or a really clever I just heard of was an extra address field that no human could see but a bot would fill in. Google it.
__________________
Foundation Flash tutorials :
Please login or register to view this content. Registration is FREE


New Dreamed Up Web Design:
Please login or register to view this content. Registration is FREE
Foundationflash is offline
Reply With Quote
View Public Profile Visit Foundationflash's homepage!
 
Old 09-30-2007, 05:47 PM Re: "email this website to a friend" how to?
Virgin Talker

Posts: 5
Name: Ben lee
Location: London
Trades: 0
There used to be a free script on hotscripts for this.
__________________
Adult links removed by moderator
oogleman is offline
Reply With Quote
View Public Profile Visit oogleman's homepage!
 
Reply     « Reply to "email this website to a friend" how to?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.71727 seconds with 12 queries