MyOBC upload package (PHP + MySQL, with login gate + Excel upload)
==================================================================
Contents:
  index.php  api.php  auth.php  config.php  setup.php  xlsx.php
  .htaccess  .user.ini  README.md

Deploy to cPanel:
  1. Create a MySQL db + user (All Privileges) in cPanel.
  2. Unzip. Open myobc/config.php and fill in:
       - DB_NAME / DB_USER / DB_PASS   (DB_HOST stays localhost)
       - ADMIN_PASS_DEFAULT  (default "myobc" - CHANGE it; user is "admin")
  3. Upload myobc/index.php, api.php, auth.php, config.php, xlsx.php,
     setup.php and .user.ini into public_html/myobc/
     -- DO NOT upload .htaccess yet
  4. Visit https://YOURHOST/myobc/setup.php
       -> should print: users table created, voters table created,
          + 1 demo user
       (a DB error here means the credentials in config.php are wrong)
  5. DELETE setup.php from the server, then upload .htaccess
  6. Open https://YOURHOST/myobc/ and sign in  (admin / <your password>)
     - "Users"  -> manage user records + generated codes
     - "Upload" -> pick an .xlsx voter sheet; header row auto-detected;
                   all records written to the voters table

Notes:
  - Only .xlsx (Excel 2007+). For .xls files use File > Save As > .xlsx.
  - .user.ini raises upload limits (64M). If ignored, set the same in
    cPanel MultiPHP INI Editor.
  - Re-uploading a sheet appends rows; run DELETE FROM voters; between
    clean reloads.
  - Constituency/booth dropdowns still use DUMMY data ($OBC_OPTIONS in
    config.php) until you feed real lists.
