PERPHeads Quiz! How well do you know PERPHeads?

Messages
901
Reaction score
2,533
Points
790
Location
Netherlands
So, now that most people have made the quiz I have decided to open-source the website code, so if any of y'all think you're smarter then me (which you most likely are) and can do it better, then go ahead! :D

http://phquiz.byethost12.com/source.zip

In order to get it setup, import database.sql into an existing database (empty) and edit config.php to your likings.
All Questions are stored in /quests (these are the questions as the user gets to see them.)
All Question Processors are stored in /procs (this checks if the question is right and awards points.)

You can add more questions then 20, just do not call FinishQuiz($con, $result) or FinishQuizNp($con, $result) until the last question. And more then 20 questions will require you to change the progressbar code in question.php and score calculation in config.php.
 

Ayjay

Guest
Messages
2,912
Reaction score
8,253
Points
915
Location
Leeds, England.
So, now that most people have made the quiz I have decided to open-source the website code, so if any of y'all think you're smarter then me (which you most likely are) and can do it better, then go ahead! :D

http://phquiz.byethost12.com/source.zip

In order to get it setup, import database.sql into an existing database (empty) and edit config.php to your likings.
All Questions are stored in /quests (these are the questions as the user gets to see them.)
All Question Processors are stored in /procs (this checks if the question is right and awards points.)

You can add more questions then 20, just do not call FinishQuiz($con, $result) or FinishQuizNp($con, $result) until the last question. And more then 20 questions will require you to change the progressbar code in question.php and score calculation in config.php.

Challenge accepted.

NzcZMxo05.png


My versions better tbh
 
Top