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



Try using Javascript? Or use all entities? For example:
mailto:php-general@xxxxxxxxxxxxx would turn into
mailto:php-general@lists.php.net



On 2/27/07, John Taylor-Johnston
<John.Taylor-Johnston@xxxxxxxxxxxxxxxxxxxxx> 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 every single
instance, most of which come from dynamically printed PHP pages from a
MySQL database.

Could I dynamically create a flash image, input the email and tell the
flash image to mailto:the@xxxxxxxxxxx?

Do anyone have a solution? Does one already exist?

My idea was to create a PHP script and output to a png. But I see many
problems, including:

1) How do I avoid echoing the email address in the <a href=""> tag?
2) How would I write a png that would be long and high enough?
3) How would the same script display the png?

In short, I can't see far enough how to do this and avoid spider-raking
in the HTML or header the content of the image.

Any advice, code or input would be appreciated,
John

<a href="<?php

#what do I put here?
$mydata->email = "me@xxxxxxxxxxxxx";
echo $??????????;

?>"><img src="<?php
|header('Content-type: image/png');|
#How do I display the image?

$mydata->email = "me@xxxxxxxxxxxxx";
echo $??????????;

?>" width="???" height="???">

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


.



Relevant Pages

  • Re: [PHP] echo text - anti-spam-spider measure
    ... On 2/27/07, John Taylor-Johnston ... > But I just don't have the time to create a flash image for every single ... > My idea was to create a PHP script and output to a png. ... > 2) How would I write a png that would be long and high enough? ...
    (php.general)
  • echo text - anti-spam-spider measure
    ... But I just don't have the time to create a flash image for every single instance, most of which come from dynamically printed PHP pages from a MySQL database. ... How would I write a png that would be long and high enough? ... echo $??????????; ...
    (php.general)
  • Re: how to program a flash with the wiggler? (for free)
    ... > I think the idea is to upload both the flasher and the flash image ... > into target RAM and then run the flasher. ... > But my SRAM is not sufficient for the flash image and i think i can't ...
    (comp.arch.embedded)
  • Re: Restore Volume manager rootdisk via flash image on solaris 8 failed
    ... VM disabled rootdisk and forced me to boot on mirdisk. ... You can't use flash install to restore a VxVM controlled root image. ... Once that's done, take your flash image. ...
    (comp.unix.solaris)
  • Re: [PHP] echo text - anti-spam-spider measure
    ... But I just don't have the time to create a flash image for every ... Could I dynamically create a flash image, input the email and tell the ... I believe the scrapers/spammers are still not bothering to defeat this ... On a super busy server with millions of users or millions of potential ...
    (php.general)