Contact - email form PHP code
Be sure to subscribe to the TPCS blog.
![]()
This PHP contact email form program will allow your visitors to contact you via a web form. It will send the results to you in an email. This code does some basic input bounds checks (email address validation etc...) and is easy to set up and configure. This code also has the option to do domain validation to help avoid misuse by spammers. This program will send you the visitors IP address in the letter. This version has the option to log the IP addresses of anyone who attempts to access the form from anywhere other than your domain to a HTML log file. You just use a simple link to view the IP log file. Also this version has the option to notify you via email if someone attempts to use the form from outside your domain. You can also choose to send HTML or plain text mail. This code has the log-in form on a separate HTML file so it is easier to set up and customize for non programmers.
All necessary files are included in the download.
To download this PHP contact form program click here. |
![]() |
Did you find the PHP or Javascript you were looking for?
Searching for scripts can be a time consuming effort. Be sure to save this site as a favorite by clicking here. Mozilla and Firefox users must press 'CTRL D' to bookmark this website.
|
Having trouble with the PHP contact email form script you found here? Ask Dave from TPCS for help! |



