The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 20, 2019, 11:10:18 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Callback, Nutballs  (Read 2713 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« on: December 12, 2009, 12:13:57 PM »

Hey man - do you have a database or simple array or something of the "Prove you are human" questions on your blog? The number of 'bots that are signing up as new members here is becoming retarded. I need something simple and drop in - if it's just the qq & answer, that'd be superb.

Thanks meng!
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #1 on: December 12, 2009, 12:29:51 PM »

just make up a few really fast.

The plugin I use is actually specific for expression engine, though easy to create.

red green blue - Type the First color.
red
tornado cow car - Type the animal.
cow
Which uses electricity to function, computer or cow?
computer
Is Monty Python funny? (hint: the answer is yes)
yes
Braindonkey is the smartest human alive. So type the name of the smartest human alive.
braindonkey
car bus bicycle. Which is human powered?
bicycle
rock pebble stone. Which begins with p?
pebble
mountain molehill. which is bigger?
mountain

basically, the questions just needs to be retardedly simple, but not calculatable.

Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #2 on: December 12, 2009, 12:48:50 PM »

Fair enough. It's a pretty simple drop in to the forumware, I'll get after it.

Thanks
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #3 on: December 13, 2009, 12:12:29 PM »

Installed, tested, I think we're all good to go. If you're in the mood, log out and try to register with another name, see how it goes.

thanks!
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
justmetesting
n00b
*
Offline Offline

Posts: 1


View Profile
« Reply #4 on: December 13, 2009, 12:28:07 PM »

Woot! Ima human!

I refreshed a couple dozen times and 1 time i got no question. Couldnt get it to do it again though.
Logged

No links in signatures please
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #5 on: December 13, 2009, 12:32:57 PM »

hey who is that?! Oh wait, thats me. But wait? Im here.
Im confused. Shocked
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #6 on: December 13, 2009, 12:54:42 PM »

Thanks, just managed to generate that. For some reason, rand() generated a -1 now and again. That one will deserve a little bit of research in the future because I certainly didn't expect that. So now it just makes sure there's a positive number in the array position for the Q & A.

Thanks again Smiley
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #7 on: December 13, 2009, 01:01:06 PM »

rand() in PHP?

use mt_rand. much more better and less dumb.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #8 on: December 13, 2009, 01:04:22 PM »

Done. And MAN is it faster  Roll Eyes  ROFLMAO

Thanks for the tip, I like what they say in the manual re. mt_rand, never used it before. Cheers meng
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!