simple enquiry form

This is a discussion on "simple enquiry form" within the PHP Forum section. This forum, and the thread "simple enquiry form are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jul 11th, 2006, 00:04
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
simple enquiry form

hi, i am creating my first html site and would like to know the easiest way to make an equiry for work. i am told i need to use php. i dont really even know why so could you please explain thoroughly... my enquiry form is here: http://www.nickfordyoung.com/doitwithxs/enquiries.htm
any other advice for the site is much appreciated

thankyou in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 11th, 2006, 10:56
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple enquiry form

Your link is returning a 'server not found' message.

Gives us a link that works and then I will be happy to explain the ins and outs of why php to you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 11th, 2006, 11:28
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple enquiry form

sorry bout that:

www.nickfordyoung.com/doitwithxs/enquiries.htm

that should work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 11th, 2006, 16:31
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple enquiry form

First things first, you do not have any validationon your form which leaves it wide open to the tiny minded hackers of this world.

In your code, your form element has a target= attribute. There's no such attribute associated with the form element.

Your form is currently set to be processed by a file called FormMail.cgi. As you have it, this file needs to exist in the same directory as the form page. FormMail.cgi requires a number of values, held in 'hidden' input fields to work properly (the way you would expect / want). I can't remember what they all are off the top of my head but you could easily look them up.

The problem with this particular mail processing file is that its code and its weaknesses are well known which could make it vulnerable.

Also, as far as recall, this processing makes no allowance for and has no capability to accomodate 'sticky' data. By that I mean that should your form not have all its mandatory fields completed, then it cannot take you back to the form with the data that has been completed still in place. This is very irritating for the end user.

A better way is to go the php route but you need to have some idea of what you are doing and understanding of the code involved.

I would suggest you work through an article and its associated files that I wrote. Whilst the form fields you require will be different, it will give you a good grounding in what you need to understand. You can then come back and ask for clarification when and if you need it.

Download the files under 'Fighting back against spam' at: http://1ontheweb.net/1ontheweblog.html

On a completely different tack. Your pages need to centre better within the viewing area. AT the moment they are off to the right. You also need to validate your page(s) as they have numerous errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
simple, enquiry, form

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
> Please Help With Simple Php Contact Form! dbh21 PHP Forum 7 Apr 21st, 2008 18:16
submitting an enquiry form dbh_21 Web Page Design 11 Jul 11th, 2006 16:38
Do you have a good enquiry form? csa Web Page Design 4 Jan 18th, 2006 17:49


All times are GMT. The time now is 02:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42