https://github.com/mwt/number-drop
An extremely minimal php web form for collecting phone numbers
https://github.com/mwt/number-drop
Last synced: 11 months ago
JSON representation
An extremely minimal php web form for collecting phone numbers
- Host: GitHub
- URL: https://github.com/mwt/number-drop
- Owner: mwt
- License: bsd-2-clause
- Created: 2024-01-23T15:28:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T18:37:52.000Z (about 2 years ago)
- Last Synced: 2025-03-29T08:18:48.441Z (about 1 year ago)
- Language: PHP
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Number Drop

This is an extremely minimal web form written in PHP that people can use to provide their phone numbers. The numbers are stored in a text file called `numbers` in the same directory. This is intended to be used with a shared hosting service, but self-hosting is straightforward if you have a web server with PHP installed. In either case, just drop it into a folder on your web server and it should work.
This repository includes a `.htaccess` file which denies public access to the `numbers` file. This only works on Apache servers which have `.htaccess` enabled. Most shared hosting providers enable this feature. If you are using a different web server, you will need to find a different way to protect the `numbers` file. If you want the numbers to be public, you can remove the `.htaccess` file. You may also prefer to use basic web authentication instead of denying all access to the file.