https://github.com/phawk/php-contact-form
A small contact form library for php.
https://github.com/phawk/php-contact-form
Last synced: 12 months ago
JSON representation
A small contact form library for php.
- Host: GitHub
- URL: https://github.com/phawk/php-contact-form
- Owner: phawk
- Created: 2011-06-26T19:26:42.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-06-26T19:53:22.000Z (almost 15 years ago)
- Last Synced: 2025-03-29T10:43:32.516Z (about 1 year ago)
- Language: PHP
- Size: 92.8 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
Simple PHP Contact Form Library
===============================
Ever had to make a quick contact form on PHP site that's not using a framework or doesn't have contact form stuff built in? Well I got fed up of doing just that. The last time I had to make a PHP contact form I put a little bit more effort into making it reusable and bam we have this little library.
Installation
------------
* Paste the files into your site
* Edit your database settings, email address and subject line in the libraries/contact_form.php file.
* Run the enquiries.sql create table stuff in your database
* And use the example.php file to figure out how to integrate it into your setup.
Notes
-----
Feel free to extend and if you have any comments or improvements, do let me know. Passing the entire $_POST array may seem a little dodgey but there is some stuff to cleanup the code and prevent MySQL injection.