How dinesh-v11/hebcoss-techquiz works
HebCoss TechQuiz is a PHP/MySQL platform for timed, team-based quiz competitions. Teams enter through the landing page, authenticate, answer a question bank while the server tracks time and saves selections, and submit for server-side scoring and results. Browser focus violations feed a warning endpoint that can block a team; administrators manage teams and view a ranked leaderboard. The excerpts show quiz, scoring, authentication, answer-save, warning, and database interactions. Some admin storage wiring and the database schema are documented but not excerpted, so those links are marked unverified.
Main entry points: quiz.php Timed quiz · quiz_event_setup.sql Quiz database · login.php Team authentication · submit.php Submission and scoring
Components 14
Entry and identity
- Landing page
index (1).php - Team authentication
login.php - Logout
logout.php
Quiz competition
- Question bank
questions (1).php - Timed quiz
quiz.php - Answer autosave
save_answers.php - Warning enforcement
warn.php - Submission and scoring
submit.php - Disqualification notice
disqualified.php
Administration
- Admin dashboard
admin.php
Persistence
- Database connection config
db.example.php - Quiz database
quiz_event_setup.sql
Other components
- Team participant
- Event administrator
Connections 23
- Team participant → Landing page: opens
README.md - Landing page → Team authentication: links to
index (1).php - Team participant → Team authentication: authenticates
login.php - Team authentication → Timed quiz: routes active teams
login.php - Team authentication → Disqualification notice: routes blocked teams
login.php - Team authentication → Submission and scoring: routes completed teams
login.php - Timed quiz → Question bank: renders questions
README.md - Timed quiz → Answer autosave: posts answers
quiz.php - Timed quiz → Warning enforcement: posts warnings
quiz.php - Timed quiz → Submission and scoring: submits quiz
quiz.php - Timed quiz → Disqualification notice: routes blocked teams
quiz.php - Submission and scoring → Question bank: checks answer key
submit.php - Team participant → Logout: requests logout
- Logout → Landing page: redirects to
logout.php - Event administrator → Admin dashboard: manages event
README.md - Admin dashboard → Quiz database: reads and updates teams
- Timed quiz → Quiz database: reads timer and answers
quiz.php - Answer autosave → Quiz database: writes answers
save_answers.php - Warning enforcement → Quiz database: updates warning status
warn.php - Submission and scoring → Quiz database: reads answers and saves score
submit.php - Team authentication → Quiz database: checks credentials and status
login.php - Disqualification notice → Quiz database: checks team status
disqualified.php - Database connection config → Quiz database: connects to