adopted md5sum
[archlinuxdevstack.git] / fluxbb / QandA.php
blob0065f4b9932c52c941561132cdbae582fd6e32fb
1 <?PHP
2 /*
3 Human signup validator for punnBB written by Mirko Kaiser http://www.Network-Technologies.org
4 Download the latest version at:
5 http://www.network-technologies.org/Projects/Virtual_Brain_Online.php/article/spam_bot_registration_mod_punbb/
7 This is Open Source software, this is not a license which allows to steal ideas and use them in your own code. Give credit where credit is due and make sure you understand the license before you claim the code as your own!
9 Notes:
10 I would also suggest to disable the javascript which disabled the Submit button as it creates problems if the user has to go back and fix a mistake (with Firefox).
11 Change this:
12 <form id="register" method="post" action="register.php?action=register" onsubmit="this.register.disabled=true;if(process_form(this)){return true;}else{this.register.disabled=false;return false;}">
13 To this:
14 <form id="register" method="post" action="register.php?action=register">
16 History:
17 - 09.June.2009 - Tested compatibility with PunBB 1.2.21
18 - 19.April.2008 - Wrote manual and released version 1.0
19 - 18.April.2008 - Idea and first implementation
21 License:
22 This program is free software: you can redistribute it and/or modify
23 it under the terms of the GNU General Public License as published by
24 the Free Software Foundation, either version 3 of the License, or
25 any later version.
27 This program is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
32 You should have received a copy of the GNU General Public License
33 along with this program. If not, see <http://www.gnu.org/licenses/>.
35 -----------------------------------------------------------------------------------------------------
38 //Questions and Answers
39 // You should define your own questions and answers below. All questions and answers are stored in a
40 // multidimensional array. Index 0 is the question, the rest can be used for multiple possible answers
41 // case does not matter with written answers because the script turns all answers into lower case
43 $hum_qna = array();
45 $hum_qna[0][0] = 'Arch is Windows, Mac or Linux?';
46 $hum_qna[0][1] = 'linux';
48 $hum_qna[1][0] = 'Which distribution is ArchServer based on?';
49 $hum_qna[1][1] = 'archlinux';
50 $hum_qna[1][2] = 'arch linux';
52 $hum_qna[2][0] = 'What is the domain for this site (bbs.archserver.org)?';
53 $hum_qna[2][1] = 'bbs.archserver.org';
55 $hum_qna[3][0] = 'Which is more secure: SSH or Telnet?';
56 $hum_qna[3][1] = 'ssh';
58 $hum_qna[4][0] = 'What is the first name of the man who wrote the Linux kernel?';
59 $hum_qna[4][1] = 'linus';