Documentation

About PHP contact form


This unique contact form receive message from the viewers and store them in a flat file database. So there is no need of php mail() function. Upon login with your unique login name and password you can view the messages, download them or delete them.

Installation


Installation of this contact form is pretty simple.
  • Download the zip file from here.
  • Upload it to the web root of your server.
  • Unzip or extract it. If your server doesn't have unzip utility then unzip at your local computer, and then upload using FTP.
  • Set the permission of the following directory and files to 0777 or simply 777.
    • Directory=> /mail/database/;
    • File=> /mail/database/db.php;
    • File=> /mail/database/settings.php;
    • File=> /mail/database/tmp.php;
  • Open link http://yourdomainname.com/mail/

Read mail


To read mails from your visitors you have to login into your mailbox. Open the link:   http://yourdomainname.com/mail/,   put your login information. Replace "yuordomainname.com" with your real domain name.

How to add contact form to your existing web page**

If you like to add/insert this  "contact form" into  your existing web page:-

  • Open file  "contact-us.php"  with your favorite text or PHP  editor.
  • Copy the codes between <body> and </body> tags.
  • Past it at the desired position of your existing page.
  • Put the java script link :
    <script type="text/javascript" src="mail/script/mail.js"></script>
     between <head> and </head> tags.
  • Delete file "mail/database/config.php" if you already install it.
  • Open link http://yourdomainname.com/mail/ to install again.

__________________
** Existing page must be in PHP format.

Remember before use

Before you are going to use this script please remember the following points.

  • It is single user system, i.e. only one user at a time can login into the mailbox.
  • Please do Logout before leaving your mailbox.
  • Since this script uses flat-file database, do not heavily load your mailbox. Periodically clean your mailbox by deleting unnecessary messages. You can download messages before deleting them.
  • To restrict user from any misuse or doing any evil activity maximum message length is limited to three thousand (3000) characters.  You can edit this value according to your requirement. Open file contact-us.php with your favorite text/php editor. At line-50 find the string
    • $max_message_length=3000;

    Only change the red color text.

Server Requirements:

PHP 5.0 or higher with GD installed are required to run the script.
If your system doesn't meet these requirements please write here for necessary modifications.

Copyright:

This product is protected by copyright and distributed under licenses restricting copying, distribution. Permission is granted to the public to download and use this script provided that this Notice and any statement of authorship are reproduced in every page on all copies of the script.

DISCLAIMER OF WARRANTIES:

THIS SCRIPT PRODUCT IS PROVIDED "AS-IS". NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU (RECIPIENT) USE THIS SCRIPT AT YOUR (RECIPIENTS) OWN RISK. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, AUTHOR EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. AUTHOR DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SCRIPT WILL MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SCRIPT WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE SCRIPT WILL BE CORRECTED. FURTHERMORE, AUTHOR DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF THE USE OF THE SCRIPT IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY AUTHOR OR RAMUI.COM SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF ANY WARRANTY.

RAMUI WEBBLOG
HomeAboutContact SitemapTerms of useXMLForum
© 2010,  http://ramui.com   All rights reserved.
Powered by: ramui webblog® Version 1.0