Re: replace %rand[x]-[y]% macro in string with random string
| From: | daniel hahler | Date: | Wed, 03 Dec 2003 00:13:06 +0000 |
| Subject: | Re: replace %rand[x]-[y]% macro in string with random string | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171615@lists.php.net to get a copy of this message | ||
on Tue, 2 Dec 2003 23:33:47 +0000 Richard Davey wrote:
RD> Just so we're clear on this - you're creating a string (an email
RD> address) of a million characters? I don't know my mail RFC's that well, but
RD> I'm sure this is well beyond what it considers "standard".
We're not clear.. ;)
the function I've posted is designed for templates, that handle the
output my script generates.. it's useful to have non-email text
portions in between or a short random string for the mailto-links
description..
RD> Does the string HAVE to make sense?
I found it better to follow some rules..
At first that were spaces in between and it got bigger.. if I'd write
a spambot I would check if the page I'm lurking on is a oneliner or
does only contain non-email words with > 20 characters, and so on..
--
shinE!
http://www.thequod.de ICQ#152282665
PGP 8.0 key: http://thequod.de/danielhahler.asc