Re: [PHP] protecting email addresses on a web site
I tried this: ?php echo span class=\safety\sssa/moc.li...@ood.sulpcoj\moc.li...@ood.sulpcoj:otliam\=ferh a/span; ? and css: .safety { direction:rtl; unicode-bidi: bidi-override; } for the address jocplus@gmail.com but I haven't managed it to display properly Could someone please direct me, I believe if I put the a class=safety href=mailto:jocplus@gmail.com;vicaversa/a... it does not really protect the email address, because in mailto: it has to be as defined jocplus@gmail.com Thanks, -- When the sun rises I receive and when it sets I forgive - http://moj.skavt.net/gleskovs/ Always in Heart, Grega Leskovšek 2010/6/15 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2010-06-15 at 13:02 -0400, HallMarc Websites wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com I didn't say the harvesters used screen readers. I'm saying that if something is in plain text that a screen reader can understand, what's to stop an email address harvester? It's not worth their time to analyse every image (think about where Google is with image searching right now, and they have a lot more resources at their disposal) but it is easy enough to read text in a web page. At a push, it's possible to believe that some might be using rendered CSS to see how an email is rendered. Thing is, it's nigh on impossible to hide an email address. Use it once on a mailing list like this and it's there for the whole world to see on archive listings. I even though that my email wouldn't be found in a .pdf CV I'd made, but thanks to Google it is now! Basically, it might not be worth the effort to hide email addresses, and instead see about setting up spam filtering at the server level. You don't have to download and filter it your end, and it saves on bandwidth. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Tue, Nov 16, 2010 at 3:36 PM, Grega Leskovšek legr...@gmail.com wrote: I tried this: ?php echo span class=\safety\sssa/moc.li...@ood.sulpcoj\moc.li...@ood.sulpcoj:otliam\=ferh a/span; ? and css: .safety { direction:rtl; unicode-bidi: bidi-override; } for the address jocplus@gmail.com but I haven't managed it to display properly Could someone please direct me, I believe if I put the a class=safety href=mailto:jocplus@gmail.com;vicaversa/a... it does not really protect the email address, because in mailto: it has to be as defined jocplus@gmail.com Thanks, -- When the sun rises I receive and when it sets I forgive - http://moj.skavt.net/gleskovs/ Always in Heart, Grega Leskovšek 2010/6/15 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2010-06-15 at 13:02 -0400, HallMarc Websites wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com I didn't say the harvesters used screen readers. I'm saying that if something is in plain text that a screen reader can understand, what's to stop an email address harvester? It's not worth their time to analyse every image (think about where Google is with image searching right now, and they have a lot more resources at their disposal) but it is easy enough to read text in a web page. At a push, it's possible to believe that some might be using rendered CSS to see how an email is rendered. Thing is, it's nigh on impossible to hide an email address. Use it once on a mailing list like this and it's there for the whole world to see on archive listings. I even though that my email wouldn't be found in a .pdf CV I'd made, but thanks to Google it is now! Basically, it might not be worth the effort to hide email addresses, and instead see about setting up spam filtering at the server level. You don't have to download and filter it your end, and it saves on bandwidth. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why not just make a simple contact form and never show the address? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Nov 16, 2010, at 4:02 PM, Bastien Koert wrote: On Tue, Nov 16, 2010 at 3:36 PM, Grega Leskovšek legr...@gmail.com wrote: I tried this: ?php echo span class=\safety\sssa/moc.li...@ood.sulpcoj\moc.li...@ood.sulpcoj:otliam\=ferh a/span; ? and css: .safety { direction:rtl; unicode-bidi: bidi-override; } for the address jocplus@gmail.com but I haven't managed it to display properly Could someone please direct me, I believe if I put the a class=safety href=mailto:jocplus@gmail.com;vicaversa/a... it does not really protect the email address, because in mailto: it has to be as defined jocplus@gmail.com Thanks, -- When the sun rises I receive and when it sets I forgive - http://moj.skavt.net/gleskovs/ Always in Heart, Grega Leskovšek 2010/6/15 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2010-06-15 at 13:02 -0400, HallMarc Websites wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com I didn't say the harvesters used screen readers. I'm saying that if something is in plain text that a screen reader can understand, what's to stop an email address harvester? It's not worth their time to analyse every image (think about where Google is with image searching right now, and they have a lot more resources at their disposal) but it is easy enough to read text in a web page. At a push, it's possible to believe that some might be using rendered CSS to see how an email is rendered. Thing is, it's nigh on impossible to hide an email address. Use it once on a mailing list like this and it's there for the whole world to see on archive listings. I even though that my email wouldn't be found in a .pdf CV I'd made, but thanks to Google it is now! Basically, it might not be worth the effort to hide email addresses, and instead see about setting up spam filtering at the server level. You don't have to download and filter it your end, and it saves on bandwidth. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why not just make a simple contact form and never show the address? A simple javascript can obfuscate the mailto: url and display text say of the form your.name at yourdomain.com Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
Sorry for top post on phone. Depending on the type of site and location an email address might be legally required. For example, a business website in the UK requires a value email address to be made accessible to all your visitors, which includes blind people, so no image-only addresses. Spam is just a fact of life now, and the only real method of protection is a decent spam filter. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Bastien Koert phps...@gmail.com Date: Tue, Nov 16, 2010 21:02 Subject: [PHP] protecting email addresses on a web site To: Grega Leskovšek legr...@gmail.com Cc: a...@ashleysheridan.co.uk, HallMarc Websites sa...@hallmarcwebsites.com, Dotan Cohen dotanco...@gmail.com, David Mehler dave.meh...@gmail.com, php-general php-general@lists.php.net On Tue, Nov 16, 2010 at 3:36 PM, Grega Leskovšek legr...@gmail.com wrote: I tried this: ?php echo span class=\safety\sssa/moc.li...@ood.sulpcoj\moc.li...@ood.sulpcoj:otliam\=ferh a/span; ? and css: .safety { direction:rtl; unicode-bidi: bidi-override; } for the address jocplus@gmail.com but I haven't managed it to display properly Could someone please direct me, I believe if I put the a class=safety href=mailto:jocplus@gmail.com;vicaversa/a... it does not really protect the email address, because in mailto: it has to be as defined jocplus@gmail.com Thanks, -- When the sun rises I receive and when it sets I forgive - http://moj.skavt.net/gleskovs/ Always in Heart, Grega Leskovšek 2010/6/15 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2010-06-15 at 13:02 -0400, HallMarc Websites wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com I didn't say the harvesters used screen readers. I'm saying that if something is in plain text that a screen reader can understand, what's to stop an email address harvester? It's not worth their time to analyse every image (think about where Google is with image searching right now, and they have a lot more resources at their disposal) but it is easy enough to read text in a web page. At a push, it's possible to believe that some might be using rendered CSS to see how an email is rendered. Thing is, it's nigh on impossible to hide an email address. Use it once on a mailing list like this and it's there for the whole world to see on archive listings. I even though that my email wouldn't be found in a .pdf CV I'd made, but thanks to Google it is now! Basically, it might not be worth the effort to hide email addresses, and instead see about setting up spam filtering at the server level. You don't have to download and filter it your end, and it saves on bandwidth. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why not just make a simple contact form and never show the address? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Tue, Nov 16, 2010 at 16:29, a...@ashleysheridan.co.uk a...@ashleysheridan.co.uk wrote: Sorry for top post on phone. Depending on the type of site and location an email address might be legally required. For example, a business website in the UK requires a value email address to be made accessible to all your visitors, which includes blind people, so no image-only addresses. Spam is just a fact of life now, and the only real method of protection is a decent spam filter. ?php /** * Just hacked this together for your usage now. It's * a very basic implementation of a graphical display * of an email address (or any text, for that matter). * This can still easily be picked up by harvesters that * employ OCR, but beggars cannot be choosers. Well, * they can, but they really shouldn't. I mean, seriously, * there they are, just hoping and praying for a handout, * and when it finally comes, they bitch and moan that * I don't have any apples that didn't fall into the * sewer and sit there for a week that one time I donated * food to the food kitchen because I wanted this girl * to like me but it turned out she was a lesbian so * I just wasted the gas in the first place and my * car smelled like homeless people and crap-flavored * apples for three weeks. */ function drawEmail($email) { /** * Set the width/height of the image. */ $im = imagecreate(220,20); /** * Define the colors to be used, using RGB values. */ $black = imagecolorallocate($im,0,0,0); $white = imagecolorallocate($im,255,255,255); /** * Fill the image with a chosen color. */ imagefill($im,0,0,$white); /** * Calculate the text size to be used. */ $px = (((imagesx($im) - 7.5) * strlen($string)) / 2); /** * Write $email in calculated size with chosen color. */ imagestring($im,3,$px,9,$email,$black); /** * Output the image. */ header(Content-type: image/png); imagepng($im); /** * Garbage clean-up, pass-through the status bool. */ return imagedestroy($im); } drawEmail('danbr...@php.net'); ? -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. I wouldn't bother - you won't escape the spammers anyway. :-( -- Per Jessen, Zürich (15.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
Ashley Sheridan wrote: Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul It's not my requirement, it's been a legal requirement in the UK for 3 years now. It's a pretty common EU requirement for anything business related. -- Per Jessen, Zürich (16.0°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
You can always convert an email address as image.no one can read but humans. i think this is a simple solution. Regards Cherankrish On Tue, Jun 15, 2010 at 2:50 AM, Paul M Foster pa...@quillandmouse.comwrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Tue, 2010-06-15 at 13:28 +0530, cheran krishnamoorthy wrote: You can always convert an email address as image.no one can read but humans. i think this is a simple solution. Regards Cherankrish On Tue, Jun 15, 2010 at 2:50 AM, Paul M Foster pa...@quillandmouse.comwrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I'd already mentioned this, and it was deemed not very accessible (what if someone is blind, for example?) Thanks, Ash http://www.ashleysheridan.co.uk
RE: [PHP] protecting email addresses on a web site
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] protecting email addresses on a web site
On Tue, 2010-06-15 at 13:02 -0400, HallMarc Websites wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 10:52 AM To: Dotan Cohen Cc: HallMarc Websites; David Mehler; php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk Copy-n-paste just gives you the email address backwards; screen readers, because we are using logical ordering and it is stored in memory the way we expect to read it, will read it correctly. I was not aware that email harvesters used screen readers. Do you have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com I didn't say the harvesters used screen readers. I'm saying that if something is in plain text that a screen reader can understand, what's to stop an email address harvester? It's not worth their time to analyse every image (think about where Google is with image searching right now, and they have a lot more resources at their disposal) but it is easy enough to read text in a web page. At a push, it's possible to believe that some might be using rendered CSS to see how an email is rendered. Thing is, it's nigh on impossible to hide an email address. Use it once on a mailing list like this and it's there for the whole world to see on archive listings. I even though that my email wouldn't be found in a .pdf CV I'd made, but thanks to Google it is now! Basically, it might not be worth the effort to hide email addresses, and instead see about setting up spam filtering at the server level. You don't have to download and filter it your end, and it saves on bandwidth. Thanks, Ash http://www.ashleysheridan.co.uk
[PHP] protecting email addresses on a web site
Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Thanks, Ash http://www.ashleysheridan.co.uk
RE: [PHP] protecting email addresses on a web site
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Monday, June 14, 2010 8:06 AM To: David Mehler Cc: php-general Subject: Re: [PHP] protecting email addresses on a web site On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Thanks, Ash http://www.ashleysheridan.co.uk Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; Marc Hall HallMarc Websites __ Information from ESET Smart Security, version of virus signature database 5194 (20100614) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Mon, 2010-06-14 at 08:26 -0400, David Mehler wrote: Hi, Thanks. How does putting the email address as the same font as the text stop crawlers from getting it? Thanks. Dave. On 6/14/10, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Thanks, Ash http://www.ashleysheridan.co.uk Hope you don't mind, I've copied the list back on in this reply. What Facebook used to do (it doesn't seem to any more for some reason) is have a small image with the email address on, and the filename is a random string of letters and numbers. Presumably the thought is that the spiders that spammers use to harvest email addresses won't be using OCR on every image it comes across to detect an email address as that would be too time-consuming for them. Thanks, Ash http://www.ashleysheridan.co.uk
RE: [PHP] protecting email addresses on a web site
At 8:36 AM -0400 6/14/10, HallMarc Websites wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; Marc Hall HallMarc Websites Marc: That's clever. I never saw that before. I guess that you could also span portions of it to reverse and other portions not to. Interesting. Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about copy-paste? I don't think there's an accessible way of doing this. Anything that allows a screen reader to speak the email address would also be susceptible to spammers email scrapers. Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] protecting email addresses on a web site
On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] protecting email addresses on a web site
On Mon, 2010-06-14 at 17:20 -0400, Paul M Foster wrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul -- Paul M. Foster It's not my requirement, it's been a legal requirement in the UK for 3 years now. http://www.calmdesign.co.uk/articles/Website_legal_requirements/?id=16 Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] protecting email addresses on a web site
On Mon, Jun 14, 2010 at 5:51 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2010-06-14 at 17:20 -0400, Paul M Foster wrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul -- Paul M. Foster It's not my requirement, it's been a legal requirement in the UK for 3 years now. http://www.calmdesign.co.uk/articles/Website_legal_requirements/?id=16 Thanks, Ash http://www.ashleysheridan.co.uk Thanks for the link, Ashley, I'll admit I my ignorance regarding these requirements in other countries. Something to consider in future projects. Adam -- Nephtali: PHP web framework that functions beautifully http://nephtaliproject.com
Re: [PHP] protecting email addresses on a web site
On Mon, 2010-06-14 at 18:48 -0400, Adam Richardson wrote: On Mon, Jun 14, 2010 at 5:51 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2010-06-14 at 17:20 -0400, Paul M Foster wrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to email if needed. I can not use javascript for this solution. Suggestions appreciated. Thanks. Dave. If Javascript isn't a solution (which I can understand for accessibility reasons) then the only method I've seen that seems to work is to have the email as an image in the same font style as it would be on the page if it were just text. Facebook uses this to display contact email addresses for people, and I've seen it used elsewhere also. The only other method I've seen is to add in extra characters with a small note to humans to remove them, but I find this quite a messy solution. Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a requirement. Notwithstanding Ash's assertion, I would suggest a contact form. The email address is effectively hidden, and you can apply CAPTCHA to the form to cut down on bot spam. It also introduces some discipline on the user, and potentially allows you to categorize inquiries (making it easier to pass them on to the proper person). You can also have a pick list on the form which details which person you'd like the form to be sent to. In general, on contact forms or about us pages, I include some physical address and possibly a phone number. This might satisfy Ash's requirement for contact details. Paul -- Paul M. Foster It's not my requirement, it's been a legal requirement in the UK for 3 years now. http://www.calmdesign.co.uk/articles/Website_legal_requirements/?id=16 Thanks, Ash http://www.ashleysheridan.co.uk Thanks for the link, Ashley, I'll admit I my ignorance regarding these requirements in other countries. Something to consider in future projects. Adam I only know about this one because I live here! I wouldn't have a clue about laws in other countries really! Thanks, Ash http://www.ashleysheridan.co.uk