Skip to content

oztick139/php-contact-form

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

php-contact-form

PHPによるお問い合わせフォームです。
フロントエンドにBootstrap、Font Awesomeを使用しています。
画面遷移なしの入力チェック、自動返信メール機能があります。
商用フリー、カスタマイズ自由です。

A contact form made that uses PHP, Bootstrap, Font Awesome.
Features PHP Input Validation without page transition, Automatic reply mail function.
Commercial free, Customization freedom.


Demo

Demoで動作をご確認ください。
You can check the operation in Demo.

Directory Structure

contact
├── assets
│   ├── css
│   │   ├── cmn_layout.css
│   │   ├── cmn_reset.css
│   │   ├── cmn_style.css
│   │   ├── contact_style.css
│   │   └── import.css
│   ├── fonts
│   └── js
├── parts
│   ├── footer.php
│   └── header.php
├── pcf_lib
│   ├── init.php
│   ├── utility.php
│   └── validate.php
├── confirm.php
├── done.php
├── error.php
└── index.php

※Bootstrap、Font Awesameに関するファイルは省略しています。
※It does not describe the Bootstrap and Font Awesome related files

Usage

// *** 「/myphp/github-php-contact-form/contact/」を環境に合わせて必ず変更してください!!!
// http://(またはhttps://)からホストまでを取得
$site_url = (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'] . '/';
define('HOME_URL', $site_url . '/myphp/github-php-contact-form/contact/');
// *** 「your_address@example.com」を必ず変更してください!!!
// 自動返信メールの管理者メールアドレス
define("ADMIN_MAIL", "your_address@example.com");

Install

管理者のメールアドレスを設定して、サーバーにアップすれば動作します。
After you set up an e-mail address of the administrator, you can work if you uploaded to the server.

Licence

Copyright © 2014 Kobe Beauty Co., Ltd.
Distributed under the MIT Licence.

Author

kb
コウベビューティー株式会社(Kobe Beauty Co., Ltd.)

About

PHPによるお問い合わせフォームです。 フロントエンドにBootstrap、Font Awesomeを使用しています。 画面遷移なしの入力チェック、自動返信メール機能があります。 商用フリー、カスタマイズ自由です。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 61.2%
  • CSS 36.8%
  • JavaScript 2.0%