comments on a website I made
14 posts
• Page 2 of 2 • 1, 2
_Taz_ wrote:hmm.. I thought I had it hidden by using code instead of the actual text.
instead of typing the email in the html I put in
- Code: Select all
sandy@orlandoco
ckers.com
doesn't that hide it from harvester and bots?
Edit by NT50: Carriage return on code box
That is encoded. You shouldn't have problems with it being stolen. Or if you have php you can use:
- Code: Select all
function encode_email($email) {
$encoded = bin2hex($email);
$encoded = chunk_split($encoded, 2, '%');
$encoded = '%' . substr($encoded, 0, strlen($encoded) - 1);
return $encoded;
}
- jbullard
- VP - Software
- Posts: 3653
- Joined: Sun Jun 06, 2004 10:17 pm
- Location: Utah
- Real Name: Jason Bullard
Thanks Jason, I was looking to find an answer on that. I read some things that said it was protected when done like that but wasn't sure.
Haven't really tried php yet, tinkered a little with cgi/perl but not on that website. just getting started at webpages that are more than just background with text and pictures.
I'm lost with all your coding talk and jargon but this doesn't look protected to me
Maybe it's protected in coding terms but a simple copy and paste and it's distributed to 10's of thousands of spammers in seconds or am I missing something?
A Contact button like that at the top of this forum on the menu bar is to my mind true protection because the email addy is not visible.
Maybe it's protected in coding terms but a simple copy and paste and it's distributed to 10's of thousands of spammers in seconds or am I missing something?
A Contact button like that at the top of this forum on the menu bar is to my mind true protection because the email addy is not visible.
well the code protects the email from spambot harvesters because the automated harvesters look for stuff like the @ sign and .com or whatever.
you are right that someone could manually cut and paste it, but I don't think the spammers usually take the time to do it manually.
I am working on an email form also, once I get that working right I'll probably take the other off, but I needed a way for them to be able to contact her.
you are right that someone could manually cut and paste it, but I don't think the spammers usually take the time to do it manually.
I am working on an email form also, once I get that working right I'll probably take the other off, but I needed a way for them to be able to contact her.
14 posts
• Page 2 of 2 • 1, 2
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 1 guest