PHP Contact Form
ContactPage is a lightweight PHP contact form application designed to let website visitors send messages directly to a business inbox without requiring a database. The app includes a clean, responsive form with fields for name, email, phone number, and message, along with validation to ensure required information is entered correctly. It uses server-side checks to sanitize input, reject invalid values, and protect against spam and abuse through CSRF tokens, a honeypot field, and rate limiting.
The form is styled with Tailwind CSS and designed to fit modern web layouts while remaining simple and easy to deploy. Once submitted, the form sends an email through SMTP using PHPMailer, allowing the message to be delivered to a configured inbox. The app also includes success and error pages for a clear user experience after submission. It is a focused, practical contact tool built for simplicity, security, and reliability, with no database dependency or marketing-page functionality.