Skip to content

PollMaster PHP — Simple Poll & Voting System with Vote-Once Protection

1 downloads 2 views Updated 54 minutes ago
PollMaster PHP — Simple Poll & Voting System with Vote-Once Protection
Price
Free
No cost
Downloads
1
Category
PHP Scripts
Last update
Oct 29, 2026
License
MIT / Free use
Reviewed by our team before publishing

About this code

PollMaster PHP — Simple Poll & Voting System (No Database Needed)

PollMaster ek chhota, self-contained PHP poll aur voting system hai. Bina kisi database ke, sirf PHP se chalta hai — polls aur votes ek simple JSON file me save hote hain. Apni website, blog ya community page par 2 minute me live poll lagayein: visitors vote karein, results turant percentage bars ke saath dikhein.

Features

  • Multiple polls: Ek se zyada polls banayein — har poll ka apna question aur 2–4 options.
  • Vote-once protection: Browser cookie + hashed IP se double voting roki jaati hai — results genuine rehte hain.
  • Live results with percentage bars: Vote karte hi animated result bars ke saath votes aur % dikhte hain.
  • Admin panel: Naya poll banayein, poll chalu/band karein, votes reset karein ya poll delete karein — sab ek panel se.
  • Secure by default: CSRF tokens har form me, XSS-safe output (htmlspecialchars), password-hashed admin login, aur data folder browser access se blocked.
  • Zero database, zero framework: Kisi bhi PHP hosting (shared hosting bhi) par chal jaata hai — bas upload karein aur data folder writable banayein.

What's Inside

  • index.php — Voting page + live results
  • admin.php — Admin panel (login + poll management)
  • includes/functions.php — Shared helpers (load/save, CSRF, escaping)
  • assets/style.css — Clean, mobile-friendly styling
  • data/polls.json — Demo poll ke saath (polls + votes auto-managed)
  • README.txt — 2-minute setup + usage guide

How to Use

  1. Folder ko apne server par upload karein (jaise public_html/pollmaster/).
  2. data/ folder ko writable banayein (chmod 775 ya hosting panel se Write permission).
  3. Browser me kholein — demo poll turant dikhega.
  4. Admin panel (admin.php) me login karein — default: admin / admin123 — aur live karne se pehle password zaroor badlein (README me steps hain).

Requirements

PHP 7.4 ya naya. Koi database, composer ya framework zaroori nahi.

Need a Custom Website or Mobile App?

Downloading free code is just the start. Yadu Tech builds complete websites and mobile apps for businesses — design, development, deployment, all done for you.

👉 Chat on WhatsApp

Features & includes

Multiple polls — create multiple polls
each with its own question and 2–4 options
Vote-once protection — browser cookie + hashed IP prevents double voting
Live results with percentage bars — animated result bars with votes and %
Admin panel — create polls
enable/disable polls
reset votes or delete polls
Secure by default — CSRF tokens
XSS-safe output
password-hashed admin login
data folder blocked from browser access
Zero database
zero framework — runs on any PHP hosting
just upload and make the data folder writable

You might also like

More in PHP Scripts
ClinicCare — Doctor Appointment Booking & Clinic Management System (PHP + SQLite)
Premium
PHP Scripts • 2d ago

ClinicCare — Doctor Appointment Booking & Clinic Management System (PHP + SQLite)

🏥 ClinicCare — Doctor Appointment Booking & Clinic Management System (PHP + SQLite) A complete appointment system for clinics, doctors and...

2 32
₹299
LinkShrink — PHP URL Shortener with Click Stats
Free
PHP Scripts • 5d ago

LinkShrink — PHP URL Shortener with Click Stats

LinkShrink — PHP URL Shortener with Click StatsTurn long, ugly URLs into clean short links — and see exactly how many people click them. Lin...

1 28
Free
InvoicePro — GST Invoice & Client Management System (PHP + MySQL)
Premium
PHP Scripts • 1w ago

InvoicePro — GST Invoice & Client Management System (PHP + MySQL)

InvoicePro — GST Invoice & Client Management System (PHP + MySQL) A complete, ready-to-deploy invoicing system for Indian small businesses,...

1 77
₹399
PollMaster PHP — Simple Poll & Voting System with Vote-Once Protection
Free
Download