     RomcoMail  verson 1.0b
 A simple script for sending form information via email.

###################################################################
Copyright (C) 2001  Russ Kruse russ@rkproductions.net

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  
02111-1307, USA.


####################################################################
You should have the following files after unzipping.

script.txt
demo_form.php
thankyou.html
gpl.html
README.txt (this file)


 Quick setup

 Step 1
 Open script.txt and cut and paste the code to the top of your html
 form page. (remember to save your page with a .php extention)

Make sure you have a form field called "Name".

Example
<input type="text" name="Name">

 Step 2
 Place this in the form tag of your html form.
       "<? echo $PHP_SELF; ?>"
 Example:
 <form name="your_form" method="post" action="<? echo $PHP_SELF; ?>">

 Step 3
 Change the following varables:

$mailto=   "you@yourdomain.cpom";
$subject=  "subject";
$from=     "you@yourwebsite.com";

Changing these are optional 

$opening= "Your webpage form sent the following information:";
$footer=  "Form processed by RomcoMail";

Url to go to after form is submited. If set will go to this 
page after form is sent. example:  http://yourdomain.com/thankyou.html      

$new_url=  "http://yourdomain/thankyou.html";


#####################################################################

Possible Problems.

I fill out my new form and submit it but nothing happens...

  Make sure you have a form field called "Name", see step one above.
  Make sure that PHP is setup with your server's mail program. 

I can see the PHP code when I look at the form in my browser.

  Either PHP is not configured correctly or not configured at all 
  on your server. It is also possible that you deleted a PHP tag
  <? or ?>. The file name must end with a .php or .php3 extention



########################################################################


I wrote this to be  trivial to setup. If you are having any problems please 
email me at russ@rkproductions.net and I will try to see what I can do to help 
you. 



