[PHP] Re: replace %rand[x]-[y]% macro in string with random string

2003-12-02 Thread Luke
final note, for anyone who finds this interesting in the class, if you update the following 2 variables, this is the proper list $this->countrys = array("",".ac",".ad",".ae",".af",".ag",".ai",".al",".am",".an",".ao",".aq"," .ar",".as",".at",".au",".aw",".az",".ba",".bb",".bd",".be",".bf",".bg",".

Re: [PHP] Re: replace %rand[x]-[y]% macro in string with random string

2003-12-02 Thread daniel hahler
on Wed, 3 Dec 2003 10:54:10 +1100 Luke wrote: L> result on my laptop for default script settings L> (P4 2.66, 512mb ram) L> 20 L> loaded in: 1.3158s thanks for the test.. L> please tell me what you think of this? if you like it i can email it to you L> (as a php file) Looks good, I have alr

[PHP] Re: replace %rand[x]-[y]% macro in string with random string

2003-12-02 Thread Luke
i forgot to mention, that being a class, you should be able to set any of the variable you want (either on class creation: new honeyPot($value1, $value2, etc); or with the class variables, $spambot = new honeyPot; $spambot->addresses = 50; //amount to create) Luke -- PHP General Mailing List (ht

[PHP] Re: replace %rand[x]-[y]% macro in string with random string

2003-12-02 Thread Luke
result on my laptop for default script settings (P4 2.66, 512mb ram) 20 loaded in: 1.3158s please tell me what you think of this? if you like it i can email it to you (as a php file) --begin php code--- umin = $usermin; $this->umax = $usermax; $this->addresses = $add