August 1st, 2000, 07:09 AM
Basicly I am trying to write a script so an e-mail address is not posted in the HTML code (b/c of spammers who parse through site for e-mail address) all e-mail addresses will be stored in the user database...when when you click the link (email_script.php?id=bill) then have it treat that link as a mailto: link...I have tried doing it using header("Location: mailto:firstname.lastname@example.org"), but that doesn't work...I have seen this done before so I know that it can be done...can anyone PLEASE help
August 1st, 2000, 11:14 AM
I don't know, but that's a great idea.
August 1st, 2000, 02:27 PM
How about loading a page that has a dynamicically created meta tag at the top with the email address in place ie
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=mailto:email@example.com">
Where firstname.lastname@example.org is the email form the database
August 2nd, 2000, 03:43 AM
Why not just create a page that loads
a simple email window.. or should I say
an HTML form, whereby the "id" link clicked
on, opens this new form, with the
"TO" address already filled in..
The user can fill out the form, then simply
click send, and off the email goes.
I don't think either of the "Header:" or
META tags will work. But I have not tried the meta tag option.
Low Cost Hosting and Web Development.
August 2nd, 2000, 10:01 AM
August 2nd, 2000, 02:02 PM
Did you try the META tage solution I tested it personally and it works.
August 2nd, 2000, 02:41 PM
Can you e-mail me your code? Send it to:
ckacerguis at hotmail.com