Page 1 of 1

email link...

Posted: Mon Nov 09, 2009 2:14 pm
by Alidad
I rookie guy for php and i'm trying to learn myself, when person sign up for new member, and send email conformation, how do i can write that code to prompt to show company email link address before they click on the link to redirect to the company site!

For sample that i put my master email address of yahoo and and when i click submit, it will show message said we send email conformation for activiation and showing yahoo.com email link to redirect to yahoo email.

if i put hotmil as my master email, then it will show hotmail email link to redirect to hotmail site. how can i write that code!


please help thanks.

Re: email link...

Posted: Tue Nov 10, 2009 6:05 pm
by Jonah Bron
Take a look at strstr. It should accomplish what you are looking for. Just compare it's results to a small associative array containing some more popular email services.