Iamvaibhav111006/Online-voting-system — reverse-engineered prompt
Reverse engineered prompt
Build me a secure online college election voting website for a college election. I want students to register with their details, create a password, and capture their face through the webcam. After that, they should be able to log in only if their face matches the saved face data.
Once logged in, a student should see the active election and vote for one candidate only once. The system should stop duplicate voting and show a clear success message after voting. There should also be a results page that shows the vote counts.
Please add an admin side too. The admin should be able to log in, open or close the election by time, see voter status, view results, reset votes if needed, and manage the election from a dashboard.
Use PHP, MySQL, HTML, CSS, JavaScript, and face recognition in the browser. Make it work locally with XAMPP. Please include basic security like password hashing, sessions, prepared database queries, and limited login attempts.
Want more depth? Deep Reverse