Re: [PHP] echo text - anti-spam-spider measure

2007-03-01 Thread Jochem Maas
Richard Lynch wrote: You could also use %XX in HEX on the mailto: you can actually randomly mix and match hex and entity encoding, which is what the function I posted elsewhere in the thread does. On Tue, February 27, 2007 11:09 pm, Casey Chu wrote: It works. =P I tested it. Try it here!

Re: [PHP] echo text - anti-spam-spider measure

2007-03-01 Thread Casey Chu
Richard Lynch wrote: You could also use %XX in HEX on the mailto: you can actually randomly mix and match hex and entity encoding, which is what the function I posted elsewhere in the thread does. My function also does that: http://themfund.com/snippets/test.php On 3/1/07, Jochem Maas

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread Jochem Maas
Stut wrote: John Taylor-Johnston wrote: Neat, and thnaks. How spam-spider-proof is it? I will try this though. But I will also try it with mailto:; in entities as well. Thanks! John !-- HERE ARE THE ENTITIES -- a

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread tedd
At 11:22 PM -0500 2/27/07, John Taylor-Johnston wrote: I need an anti-spam-spider measure for my site. Too many addresses are getting raked. In once instance, I created a flash page: http://erasethis.glquebec.org/English/contact.htm But I just don't have the time to create a flash image for

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread Dave Goodchild
On 2/28/07, tedd [EMAIL PROTECTED] wrote: At 11:22 PM -0500 2/27/07, John Taylor-Johnston wrote: I need an anti-spam-spider measure for my site. Too many addresses are getting raked. In once instance, I created a flash page: http://erasethis.glquebec.org/English/contact.htm But I just don't

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread John Taylor-Johnston
Can I PHP generate a flash *.swf? How? If not how do I PHP generate a *.png or gif? Jochem Maas wrote: Stut wrote: Of course the best way is to use an image and don't link it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread Richard Lynch
On Tue, February 27, 2007 10:22 pm, John Taylor-Johnston wrote: I need an anti-spam-spider measure for my site. Too many addresses are getting raked. In once instance, I created a flash page: http://erasethis.glquebec.org/English/contact.htm But I just don't have the time to create a flash

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread Richard Lynch
You could also use %XX in HEX on the mailto: On Tue, February 27, 2007 11:09 pm, Casey Chu wrote: It works. =P I tested it. Try it here! =P http://themfund.com/snippets/test.php On 2/27/07, Casey Chu [EMAIL PROTECTED] wrote: I'm not sure with both of your questions. I'm too lazy to try.

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread Richard Lynch
On Wed, February 28, 2007 1:20 am, Stut wrote: Of all the possible methods, entities are the easiest for bots to handle. They just need to decode the entities. More reliable methods involve using javascript to write out the mailto: tag. Do it in several statements. But even then, some of the

Re: [PHP] echo text - anti-spam-spider measure

2007-02-28 Thread Casey Chu
http://themfund.com/snippets/test.php Has %HEX, #entity;, and even a entity version of the hex! On 2/28/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, February 28, 2007 1:20 am, Stut wrote: Of all the possible methods, entities are the easiest for bots to handle. They just need to decode

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread John Taylor-Johnston
How do I encode it? And would the href tag work? Casey Chu wrote: ^ So put that into a a href tag. On 2/27/07, Casey Chu [EMAIL PROTECTED] wrote: Try using Javascript? Or use all entities? For example: mailto:php-general@lists.php.net would turn into

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread Casey Chu
I'm not sure with both of your questions. I'm too lazy to try. Untested: But to encode it, you would use preg_replace_callback('~([\d\w])~', create_function('$a', 'return #.ord($a[0]).;;'), $theEmail); Hopefully that works? On 2/27/07, John Taylor-Johnston [EMAIL PROTECTED] wrote: How do I

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread Casey Chu
It works. =P I tested it. Try it here! =P http://themfund.com/snippets/test.php On 2/27/07, Casey Chu [EMAIL PROTECTED] wrote: I'm not sure with both of your questions. I'm too lazy to try. Untested: But to encode it, you would use preg_replace_callback('~([\d\w])~', create_function('$a',

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread Casey Chu
^ So put that into a a href tag. On 2/27/07, Casey Chu [EMAIL PROTECTED] wrote: Try using Javascript? Or use all entities? For example: mailto:php-general@lists.php.net would turn into

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread Casey Chu
Try using Javascript? Or use all entities? For example: mailto:php-general@lists.php.net would turn into #109;#97;#105;#108;#116;#111;#58;#112;#104;#112;#45;#103;#101;#110;#101;#114;#97;#108;#64;#108;#105;#115;#116;#115;#46;#112;#104;#112;#46;#110;#101;#116; On 2/27/07, John Taylor-Johnston

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread John Taylor-Johnston
Neat, and thnaks. How spam-spider-proof is it? I will try this though. But I will also try it with mailto:; in entities as well. Thanks! John !-- HERE ARE THE ENTITIES -- a

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread Stut
John Taylor-Johnston wrote: Neat, and thnaks. How spam-spider-proof is it? I will try this though. But I will also try it with mailto:; in entities as well. Thanks! John !-- HERE ARE THE ENTITIES -- a