QUIZMACHINE!!@#!@#!@# This was created 2 hours before it had to be done for a LAN I was attending. The reason for creating this script was to create a quiz to narrow contestants of a game from 500 to 3. FEATURES: Template system IP Banning Unlimited Questions Unlimited Options Results display INSTALL: Unzip the .zip file and upload it into its own directory. Skip to the configuration section. CONFIGURATION: There is a file in the "jep" folder called "q.txt" open this file in notepad. I hope this is straight forward, here is a break down. "[TotalQuestions]30[/TotalQuestions]" = The amount of questions you have on the quiz. Questions format: "[Question1] [q]DOS 2.0 introduced an important concept to PCs. What was it?[/q] [o1]Internet[/o1] [o2]Windows[/o2] [o3]Mouse[/o3] [o4]Subdirectories[/o4] [a]4[/a] [/Question1]" The above examples indicated that it is "Question1" and the question is in the "[q][/q]" brackets. You can see there are 4 options as indicated by the "[o1][/o1][o2][/o2].... ect ect" you can have unlimited options as long as you increment the numbers. And the correct option number is indicated by the "[a][/a]" tags. Thats it... just repeat that format for all questions you have while remembering to change "[Questions1][/Question1]" to reflect the question #. HOW TO RESET THE QUIZ: After a user takes the quiz they will be banned from taking it again. This will basically receive a "thank you for participating" message instead of seeing the quiz. To reset this you can delete the file called "done.txt" in the "jep" directory, this file is only there when people have taken the quiz. HOW TO RESET THE RESULTS: You can delete the old results by deleting the "results.html" file in the script directory. This file is only there once people have taken the quiz. HOW TO VIEW THE RESULTS: Simply goto the script so you see the quiz and then add "?results" to the URL. Example: http://www.whatever.com/quiz/quizmaster.php?results ---------------------------------------------------------------------------------------- Thats all folks, there are no comments in the code because I was coding this in a few hours and didnt have time to comment it. If you fairly confortable with PHP you will have no trouble ripping apart my code. I would ask that you give me credit if you rip out my functions and reuse them for anything but Im pretty sure you wont so whatever. ----------------------------------------------------------------------------------------