Hi question on Contact Forms

Hello all.

Firstly to propose myself as that is my first submit.
In to Nathan and I’ve been designing websites right now for approximately 1 week and a 1 / 2. I’m a firefighter in England and throughout my spare time I’ve thought i would try to learn web page design.

I’ve started off designing a webpage via photoshop and also dreamweaver for this parents band as a Christmas present, plus because I’m fresh at this I have become stuck.

I would like to assure any person who helps me that we will in turn pass on any knowledge acquired to other sign ups if I can certainly, and won’t just leech some data from you in addition to disappear.

Regardless onto my problem:

I’ve got this specific far for my parents a long way: home
I recognize there’s probably a lot on mistakes miscalculation and noobiness these, but I’m your company it for Christmas with all the intention of knowing code properly afterward and redoing that later.

When said, I’m making use of photoshop and dreamweaver.

On this site Contact I’ve created an easy contact form which often I’m hoping potential customers are able to fill out and yes it will forward the details to my opinion via an email.

My webhost requires me to order a dedicated server to download free scrips such as the mailform script, so I’m not able to do that.

I was wondering how I could write my own script (php) to receive this form to figure.

As said any help significantly appreciated as I’m within a rush to understand this thing done previous to Christmas.

Bless you,
Nathan.

You should utilize PHP if your own webhost allows PHP.
And using PHP with regard to email may or probably are not disabled by your webhost.

To find out it out, modify this line:

< td> < kind name=" form1" method=" post" action=" " >

For this:

< td> < kind name=" form1" method=" post" action=" cont. php" >

And upload this specific simple script into the same directory because your contact web site.
Phone this script " cont. php" plus upload it.

PHP:


< php

//  This  is  a  super  basic  mail  form  without  any
//  validation,   captcha,   or  checking  of  any  style.

//  Get  variables  from  your  form ...
$sender  $_POST'Email';
$username  $_POST'Name';
$fmessage  $_POST'Comments';

//  Who  the  form  gets  sent  to ...
$recipient  "bookingstoadi. co. uk";
$subject  "Toadi  Website  Contact  Form";

//  Where  to  go  after  the  user  submits  the  form ...
$redirect  "index. html";

$message  "
================================
Name:    
$username
Email:    
$sender
-----------------------------------------
$fmessage
================================
"
;

$extraheaders  "From:   $sender\n\nReply-To:   $sender\n\n";

if  (!   mail($recipient,   $subject,   $message,   $extraheaders))
    echo 
"Mail  did  not  send  for  some  explanation. ";

header("Location:   ". $redirect);

>


Put your individual email address within there for examining…
And if you do not see your email inside " inbox", check out the " bulk" or even " filtered" package.
Often, emails from certain webhosts are located as spam.

Lastly…
Use PhotoShop to get rid of " red eyes" coming from photos.
I don’t think your mom wants to look like the particular Devil.

Put a true title on your whole pages.
Including the name of

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *