Click to See Complete Forum and Search --> : Form Mail - reservation page


The Magus
11-11-2003, 08:48 AM
Good afternoon
I have recently re-written/re-designed a web site for a local hotel and moved it to a new server in the UK which uses a linux server so the original asp code will not work. The site is www.sesinhotel.com and there is a reservation form under the reservation link which I don't know to make work so that it will be sent to the hotel.

I contacted the server administrator and got a suggestion that I try the following FormMail which I downloaded from

http://www.scriptarchive.com/download.cgi?s=formmail
***************************************************************
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<FORM method="POST" action="mailto:youremail@youraddress.com" onSubmit="alert('Mail is being sent');">
<div align="center"><B>Please enter your name: </B>
<input NAME="username" size="30">
<input type=submit onBlur="doVerify()" value="Submit!">
<input type=reset value="Reset">
<SCRIPT LANGUAGE="javascript">
<!-- For this and 100s of other Free Javascripts, check out: -->
<!-- Free-Javascripts.com @ http://www.free-javascripts.com/ -->

function doVerify()
{
location.href = "http://www.free-javascripts.com/forms/thanks.html"
}
</script
></body>
</html>
**************************************************
I also got a suggestion that I should load FormMail into www.sesin-hotel.com/cgi-bin/FormMail.pl and then run the cgi script from there.

In reply to a question to the server I was given the contact details for a couple of people in the UK to have them sort out the required code. The first said that he would do it for £150.00 discounted for me to £120.00. The second wrote that he would charge "£20.00 an hour which realistically would be in the £300 region for a total charge".

I do not understand how either of these figures can be any where near correct because it seems that the page is ready with the exception of having part of the above code inserted in the correct place in the page which already exists.

As a user of Front Page and Dreamweaver I am at a loss as to how to proceed from here. I am not adverse to paying someone to make this work but as said the above quotes do not seem realistic.

Any advice or assistance will be very much appreciated.

Thanks in advance

Jack
:confused:

pyro
11-11-2003, 09:11 AM
If your server supports PHP, take a look at http://www.webdevfaqs.com/php.php#mailer. It comes with a readme that should explain how to set it up.

The Magus
11-12-2003, 02:19 AM
Good Morning

I have checked the link mentioned in the reply and have to admit that it is still Chinese to me.

Can anyone provide any information that is a little more specific concerning where I should insert the required code into the reservation page on www.sesinhotel.com.

cheers

Jack

pyro
11-12-2003, 08:25 AM
Did you download the .zip package? It comes with a readme, and a sample form. Also, make sure your server supports PHP.

The Magus
11-12-2003, 09:59 AM
Hi

No, I did not see the zip program but will go chase it now.

Thanks

Jack

pyro
11-12-2003, 12:34 PM
You bet... :)

The Magus
11-19-2003, 09:57 AM
Good Afternoon

I would like to express my thanks and appreciation for the help provided by Pyro in pointing me in the correct direction for a PHP form mailer script.

There are now two forms working on www.sesinhotel.com and www.allaboutmarmaris.com after a lot of worry and head scratching.

In case anyone else is interested once I got the ZIP form it was simply a question of inserting the email addresses in the appropriate place and loading the PHP form mailer on the site.

Thanks again - I am frequently impressed at the knowledge of the members of this site have and their willingness to share with people like myself who are novices.

Cheers

Jack