Location: PHPKode > scripts > CosmicFormMail > cosmicformmail/readme.txt
##-----------------------------------------------------------------##
##                                                                 ##
##                                                                 ##
## © Copyright Stephen Heylings 2003. All rights reserved. No part ##
## of this or any of the attached documents shall be               ##
## reproduced/stored in any way whatsoever without written         ##
## permission from the Copyright holder.                           ##
##   The Copyright holder holds no responsibility for errors or    ##
## omissions. No liability is assumed in any way for damages       ##
## resulting from the use of this document/program.                ##
##                                                                 ##
## Have a nice day.                                                ##
##                                                                 ##
##                                                                 ##
##-----------------------------------------------------------------##

------------------------------
### Sections in this files ###
------------------------------

1. Installation instructions
2. Trouble shooting
3. BUG report
4. Getting rid of that annoying link
5. Using the script


Installation Instructions

-------------------------
All files from the zip file should be uploaded into your cgi-bin, or any
folder which has been chmod 755.

Note: ALL FILES SHOULD BE UPLOADED IN ASCII.

The table below shows what chmod each file should be given
	File	     	  Chmod
¦ config.php   	     ¦	   777     ¦
¦ email.htm   	     ¦	   777     ¦
¦ email.php          ¦	   755     ¦
¦ index.htm          ¦	   755     ¦
¦ sent.htm           ¦	   777     ¦


To configure the script, open config.php and following the instructions there.

Trouble shooting
----------------

If you have any problems running this script then please check that you
have followed the installation to the word. If problems persist then please 
get in touch at hide@address.com with the subject "TROUBLE" (all in caps).


BUG report
----------

If you find any bugs, glitches or problems then please contact me at
hide@address.com with the subject "BUG" (all in caps).


Getting rid of that annoying link
---------------------------------

On some of my scripts you may find a small link back to me generated at the
bottom of the page. Removing this will infringe my copyright so its best you 
leave it alone. If you do want to loose the link then it costs $5 per script. 
You will then receive an amended script without the linkback. Contact me at
hide@address.com with the subject "SALES" (all in caps).


Using this script
-----------------
You can use the supplied index.htm or use your own form within your own page, the 
method and target must be as follows:

<form method="post" action="email.php">

config.php contains the global variables and requires configuration
email.htm is the email that is sent to the supplied email address, it is a template and
so can be altered to suit your needs. You can reference a posted variable from the form by
adding :: on to either side of the variable name - note, this is CaSe SenSiTiVe!!!
email.php contains the meat and veg of the program
index.htm is the supplied form, you will probably want to change it or use your own
sent.htm the template displayed when the email has been sent, the variable ::SentMessage::
must be included as this will display any errors if any.
Return current item: CosmicFormMail