Re: PHP Code I Must find

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok.

<?php
$mystring = "me@xxxxxxx";
#How can I generate $mystring in ascii characters?
echo ??($mystring);
?>



lists-php wrote:
that's not UTF, rather just the html representation of the ascii
codes for the characters. [someone else has already pointed you to an
ascii table.]

when put in the context of the "mailto:"; it's actually fairly easy
for a bot to identify and decode (i'm not saying that they do, but
it's not hard). if you're going to use this approach you may want to
make the e-mail addresses user-readable, but unlinked. while still
easily decoded, most bots won't waste time trying to decode every
string like that that they encounter (at least not yet).

  - Rick


------------ Original Message ------------
Date: Thursday, May 29, 2008 07:08:34 PM -0400
From: John Taylor-Johnston <jt.johnston@xxxxxxxxxxxxxx>
To: PHP-General <php-general@xxxxxxxxxxxxx>
Subject:  PHP Code I Must find

A web site deploys what I think are UTF characters to mask email
addresses.
Is there there a php function I can use to generate this? Or was
this hand-done?
It is crackable, but a darned good stab at the problem of spiders
at the same.
Any feedback, info or code would be appreciated,
John

John Taylor-Johnston wrote:
My source is this page:
http://www.grandlodge.mb.ca/contact.html
John

/<div align="center">To report a technical problem with this site please <a href="mailto:&#119;&#101;&#098;&#109;&#097;&#115;&#116;&#101;&#11
4;&#064;&#103;&#114;&#097;&#110;&#100;&#108;&#111;&#100;&#103;&#1
01;&#046;&#109;&#098;&#046;&#099;&#097;">contact  the
webmaster</a>.</div>/

/In UTF code:

mailto:&#119;&#101;&#098;&#109;&#097;&#115;&#116;&#101;&#114;&#06
4;&#103;&#114;&#097;&#110;&#100;&#108;&#111;&#100;&#103;&#101;&#0
46;&#109;&#098;&#046;&#099;&#097;

would be this in latin characters:

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

---------- End Original Message ----------



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux