I need to make a contact form for my companies website. Currently, we have a contact page which displays employess email addresses. The problem we are having is that the spiders on the web seem to be picking up our employees email address and we are getting a lot of junk mail or spam lately. I think if I created a simple contact form, this would resolve the problem. I am guessing that I would have to create the html page with the form elements like text fields, etc… and then create some PHP to collect the data. I used flash before to make a simple contact form on my website. I then copied a PHP script that I found and uploaded it to my server that collected the data. Acually, I got the tutorial here http://www.kirupa.com/developer/actionscript/forms_database.htm I would like to create something very similar to this but I do not want to do it in flash just HTML.
This is what I need for my form:
DROP DOWN MENU
(EMPLOYEE 1)
(EMPLOYEE 2)
(EMPLOYEE 3)
(EMPLOYEE 4)
Employee will be replaced with there real name.
After you select one of these employees, you will be directed to the acual contact form. The information provided by the user will go to the employee’s email that they chose from the drop down menu. The contact form will look the same no matter what employee you choose from the drop down menu. The only thing that will change is where the information which will beprovided by the user, will go. For ex: say I selected tom smith from the drop down menu. I then get directed to the contact form and fill in the required info. When I hit the submit button, the info that I provided will be directed to tom smith’s email.
This is what I need for my contact form.
FIRST NAME*
LAST NAME*
EMAIL*
RE-TYPE EMAIL* (Must Match)
COMPANY
SUBJECT*
MESSAGE*
finaly, the submit button.
The * represents the feilds that I want to be mandatory meaning that you have to type something in or an error message with come up. I do not want people leaving out important info like there email address or something.
This is it. Again, I would like to create this not using flash but html along with the PHP code to collect the data. I know this is a lot of work but I would appreciate it if someone could help me with this. I am guessing that if you know PHP, this is not to difficult.