GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pinceladasdaweb/Simple-PHP-Contact-Form: A Simple Contact Form developed in PHP with HTML5 Form validation.

BranchesTags
Open more actions menu

Latest commit

 

History

79 Commits
79 Commits

Folders and files

NameName
Last commit message
Last commit date
contact-form
contact-form
 
 
s6.d
s6.d
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS.md
CONTRIBUTORS.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
nginx.conf
nginx.conf
 
 
php-fpm.conf
php-fpm.conf
 
 
run.sh
run.sh
 
 

Repository files navigation

Simple PHP Contact Form

A Simple Contact Form developed in PHP with HTML5 Form validation. Has a fallback in JavaScript for browsers that do not support HTML5 form validation.

Containerized with Alpine based container

Using techniques from https://github.com/hardware/rainloop

The container adds ssmtp so you can set up a working config in /etc/ssmtp/ for the outgoing mail.

Download

You can download the latest version or checkout all the releases here.

Requirements

  • PHP >=5.4

How to use?

Open the config.php config.php file and fill with your informations.

<?php

return [
    'subject' => [
        'prefix' => '[Contact Form]'
    ],
    'emails' => [
        'to'   => '', // Email address to receive emails via the form.
        'from' => '' // A valid email address - the domain should be the same as where the form is hosted.
    ],
    'messages' => [
        'error'   => 'There was an error sending, please try again later.',
        'success' => 'Your message has been sent successfully.'
    ],
    'fields' => [
        'name'     => 'Name',
        'email'    => 'Email',
        'phone'    => 'Phone',
        'subject'  => 'Subject',
        'message'  => 'Message',
        'btn-send' => 'Send'
    ]
];

Browser Support

IE Chrome Firefox Opera Safari
IE 9+ ✔ Latest ✔ Latest ✔ Latest ✔ Latest ✔

Contributing

Check CONTRIBUTING.md for more information.

History

Check Releases for detailed changelog.

License

MIT

About

A Simple Contact Form developed in PHP with HTML5 Form validation.

Topics

contact-formphp

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

372 stars

Watchers

29 watching

Forks

145 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.