Arrow

why not something more random? | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

why not something more random?

Reply to Post Add a New Topic
UserPost

9:26 am
September 6, 2007


fawzma

Guest

Could someone please explain why you would have a set amount of words to choose from in the default installation? Is there some problem with using something like below?

$casString = "";
for($i=0;$i<8;$i++){
$casString = $casString.chr(rand(97,122));
}
$cas_text[] = $casString;

12:28 pm
September 6, 2007


Peter

Admin

posts 732

Hi! The reason for the set amount of words is for the fun of displaying what you chose. I made a Random Anti-Spam version for those who need what you described.

Reply to Post

Reply to Topic:
why not something more random?

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 9