View Full Version : Email encrypt or encode?
03-29-2007, 07:26 PM
I have looked at a few utilities to convert ASCII characters to Hexadecimal or Unicode for email addresses and I am not getting the results I need.
Can anybody help me with making my email addresses safer on the web?
var name = "name";
var domain = "domain.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
Creating an image of the address but I don't think doing that for over 1000 emails is fun or practical.
I am a bit or very lost???
03-30-2007, 05:35 AM
Write a script that will generate the images for you. Im guessing your 1000 emails are in a database? Just pull them, use the image functions from php and gd and BAMMMM, create image and add to the database row where the email is stored. Then display the image of the email, and use the text email to email them.
:) Good Luck!
03-30-2007, 07:04 AM
Yes they are in a database MySQL and I use this to display them currently:
<a href="makecontact.php?id=email@address&teid=Marketing Research">Contact...</a>
Ok will play around with a script to make the images, but no clue where to start just yet.
03-30-2007, 02:13 PM
try urlencode (http://www.php.net/function.urlencode)
im pretty sure the @ changes aswell but im not sure what to
a space is %20 though
03-31-2007, 05:12 PM
I have looked at the above and am a bit stuck, no I have not started it yet but where do I start:
The email is in the database already as it is used as the username as well.
Then the data looks like this:
<a href="makecontact.php?id=<?php echo $row_rsbooks['StuEmail']; ?>&teid=<?php echo $row_rsbooks['BkTitle']; ?>"><font color="#009900" size="2">Contact...</font></a>
The makecontact page has this:
<a href="mailto:<?php echo $row_rsstu['StuEmail']; ?>"><?php echo $row_rsstu['StuEmail']; ?></a>
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.