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 <[EM

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 i

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 de

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 o

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

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 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 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'

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 ever

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 >> >> >> > href="mailto:me@somewhere.com";>me@somewhere.com >> >> > > Of all the possible metho

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 href="mailto:me@somewhere.com";>me@somewhere.com Of all the possible methods, entities are the easiest for bots to h

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 mailto:me@somewhere.com";>me@somewhere.com Casey Chu wrote: It works. =P I tested it. Try it here! =P http://themfund.com/snippets/test.php On 2

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 mailto:php-general@lists.php.net On 2/27/07, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: I need an anti-spam-spider measure for my site. Too many addresses are getting raked. In once in

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

2007-02-27 Thread Casey Chu
^ So put that into a 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 mailto:php-general@lists.php.net On 2/27/07, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > I need an anti-sp

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

2007-02-27 Thread John Taylor-Johnston
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 every single instance, most of which come from dynamically

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
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

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 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 mailto:php-general@lists.php.net On 2/27/