Surveybox PHP ScriptSurveybox PHP Script
Build unlimited surveys and embed on any PHP page with two lines of code. No database, no framework - upload and go. Recently UpdatedSurveybox PHP Script
Build unlimited surveys and embed on any PHP page with two lines of code. No database, no framewo...
Overview
SurveyBox is a self-hosted survey builder for standard PHP hosting. Build unlimited surveys, collect responses and embed a survey on any page with two lines of code.
Drop a survey into any page like this:
No database. No framework. No build tools. Just PHP 7.4+ and vanilla JavaScript.
Works on standard shared hosting - cPanel, DirectAdmin, Plesk - and any VPS running Apache or Nginx.
Set your brand colors once in Settings and every new survey starts with them automatically. Change colors per survey if you need something different.
Each survey has its own ID so you can share direct links or embed different surveys on different pages.
Features
Unlimited surveys - create, edit, duplicate and delete
7 question types - radio, checkboxes, dropdown, short text, long text, star rating and yes/no
Drag and drop question ordering
Per-survey appearance editor with live preview
Transparent mode - survey blends into your page background
Brand colors - set once, applied to every new survey automatically
Copy embed code button - no typing, no mistakes
View, delete and export responses to CSV
Optional email notifications - responses always saved even if email fails
Modern admin panel with light and dark theme
Automatic backups before every file overwrite
CSRF protection, escaped output, file locking
One-click installer with environment checks
Change password from admin panel
Emergency password reset tool included
Clean commented code - easy to read and extend
Requirements
PHP 7.4 or newer
Write permission on the data/ folder and subfolders
PHP mail() function - only needed if you enable email notifications
Works on Apache and Nginx
No database required
No Composer, no npm, no framework
Instructions
1. Upload the surveybox/ folder to your web host
2. Make the data/ folder and subfolders writable (chmod 755)
3. Visit yoursite.com/surveybox/install.php in your browser
4. Create your admin username and password
5. Delete install.php from your server
6. Log in at yoursite.com/surveybox/admin/
To embed a survey on any page:
Replace 1 with your survey ID shown in the admin panel.
The page must be a .php file - rename .html to .php if needed.
To change your password log in and go to My Profile.
If locked out upload reset.php, visit it in browser, reset password, delete it.
Full documentation included in the package as documentation.html
| Category | Scripts & Code / PHP Scripts / Polls |
| First release | 23 June 2026 |
| Last update | 23 June 2026 |
| Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3 |
| Files included | .php, .css, .html, Javascript .js |
| Tags | php script, form builder, poll, survey, no database, shared hosting, questionnaire, csv export, feedback form, customer feedback, json storage, self-hosted, star rating, php survey, embeddable |








