Web Hosting Talk







View Full Version : Problem in Creating a Contact us form


bharath_csse
02-25-2005, 07:43 AM
Hi All,

I am very new to this web technologies, can any one give me some pointers to create a contact us form. Thru which any users can send ther queries to my email id.

Thanks in Advance,

<<< Signatures need to be set up in your profile. >>>

sitekeeper
02-25-2005, 07:58 AM
you can look at a script like this http://www.free-php.net/scripts.php?id=2 to make your own or just use it. There are many at scripts free to use use google to search...

http://www.hotscripts.com/PHP/Scripts_and_Programs/Form_Processors/

http://php.resourceindex.com/Complete_Scripts/Form_Processing/

LogoMaid.com
02-25-2005, 07:04 PM
Hi,

Make sure to check if the users filled out all necessary fields.

Let them submit only when everything filled right.

Jan

bharath_csse
03-01-2005, 02:36 AM
Hi sitelkeeper/jan,

Thanks for the information.

i don't have a much of an idea in PHP, can you send me some scripts in VB or java.

Thanks & Regards,
Bharath.

mmofya
03-01-2005, 02:41 AM
There is quite an extensive list on hotscripts.com and scriptsearch.com. You can go through a number of then and see which ones suit your needs and code preference.

sswebhost
03-03-2005, 06:45 PM
check this tutorial :

http://happysupport.com/forum/index.php?showtopic=306

RRWH
03-05-2005, 01:52 PM
If you are looking for a php based form, I have one that I implement on my website and nearly all websites that I do.

It is one of the basic building blocs for any site in my opinion.

If, after looking at hotscripts, don't find something that you like, I will share my php code.

What I do is:

Provide a form on the web page that asks for the users name, email and message ( optionally set a checkbox to send message to different people, like sales or support)

When someone submits the form, it checks a few things:

- That the referer is my web server
- That the form is in fact been filled in

Then, I send off a message to me that includes the IP address of the person who filled in the form, and as a courtesy send a message off to the supplied email address as well.

After I process the message, I display a "thank you" message on the web page and advise what has been done.

This covers all of the basics and keeps your email address off the site!

Daledoe
03-06-2005, 12:39 AM
:P i made a simple form using PHP (like i said it's simple) because it doesn't prevent people from sending emails that have blank fields