PDA

View Full Version : email form?


static_-x-_
09-18-2005, 12:06 PM
On nearlly every website there is a contact us page that has a form like

name: __________________
email address: _____________________
subject: ________________________

message: ___________________________
___________________________________
___________________________________

submit (button)

how do i get something like this on my web page? I would like it to be in html or php if possible?
What is the correct name for this type of form, so i can search for it? Do you know of any free forms like this that are easy to setup and use?

any help will benefit. cheers!

Joe
09-18-2005, 12:41 PM
Ask and you will receive (http://forum.weborum.com/index.php?showtopic=3853)... ;)

static_-x-_
09-18-2005, 01:15 PM
spot on. just what i'm looking for (just got to try and get it working now!)
cheers!

Joe
09-18-2005, 01:21 PM
There's a pre built script available to download at the bottom of the article. All you need to do is edit the config file :)

static_-x-_
09-18-2005, 01:40 PM
i downloaded the three .php files and changes the 3 lines in the config.php file. But when i view the contact.php it doesnt show correct. unlike the example shown here http://forum.weborum.com/joe/contact/contact.php
If you look at the 2 different config.php files you can see that they are very different.

Joe
09-18-2005, 01:42 PM
The only 3 things you need to edit in your config file are;

$ErrorDomain = "http://www.yourdomain.com/contact.php?error=1";
$to = "Your Name<you@your-domain.com>";
$subject = "Contact Form";

What problem are you getting?

static_-x-_
09-18-2005, 01:50 PM
sorry, my mistake! as soon as i uploaded it to my webspace it worked straight away. thanxs

Joe
09-18-2005, 01:57 PM
No problem :) Glad you got it working.