Jump to content

Processing form data


carl38
 Share

Recommended Posts

Hi there tech people..

 

i have two websites that i have been developing , hosted with yourselves,

 

www.mythaiangel.com

www.lavalbone.com

 

dating sites ,

 

i need now to configue the application forms on both sites ,

Im a novice website deveolper with only basic skills

 

please advise which method would be easier to set up

1/ having application form information sent to sever and how this is done ?

2/ having web form information sent to emial address and how to do ?

3/ easiest way of configuring applicaiton forms ?

4/ are there any step by step tutorials advising me on above ?

 

Thank you indavance for your help

THailand GMT +7 hrs

best regds

Carl

Link to comment
Share on other sites

please advise which method would be easier to set up

1/ having application form information sent to sever and how this is done ?

2/ having web form information sent to emial address and how to do ?

3/ easiest way of configuring applicaiton forms ?

4/ are there any step by step tutorials advising me on above ?

#1 will always happen, provided that the 'action' parameter in your <form> tag points to a valid script on your site. What happens when the form data is submitted depends on the design of the script.

 

#2 requires a script that can accept your site's form data, compose an e-mail with it, then send it to you.

 

#3 - I don't know what you mean by "configuring application forms". :)

 

#4 - There's lots of tutorials and information on the internet about how to build HTML forms in general - I'd suggest searching Google. To find a script that will e-mail you submitted form data, try searching hotscripts.com (there's quite a few available).

Link to comment
Share on other sites

Actually #2 can be achieved by using a mailto tag as the action for the form. This will then have the persons email client email the data to you. If you are after writing your own scripts then PHP is probably the easiest language to learn.

Link to comment
Share on other sites

Personally, I wouldn't want to email form data directly to myself without processing it and verifying the data-- more than the threat of spam bots this is why I run through some sort of process.php page. You could set up a form that was all drop-down menus and think you're safe in terms of what people can send you, but if you don't process the actual information, people can send you whatever they want, and it doesn't have to have anything to do with your form parameters. A processing page lets you hide your email address and ensure the information someone is trying to send you is legit.

 

For carl38, if you're looking through hotscripts, I'd recommend looking for an email program that offers some sort of data checking/security checks before the information is sent to you.

 

By being sent to the server did you mean some sort of database application? That can be done-- you'd need both a database language like MySQL and a scripting language like PHP to do it, and there are tutorials out there as well. I imagine hotscripts would have options for that kind of script--again, make sure the script does security checks on the data.

 

If you aren't sure in either case, contact the script's writer and find out.

Link to comment
Share on other sites

Yes, David. You are correct. The basic rule is: if you can read the e-mail address (even if only in the HTML source code), then a spam bot can read it too.

 

What I have done on most of the sites I have worked on is to "hard-code" the mailto: line into the form processing script and leave it out of the HTML page completely. That way no mining of emails.

 

 

 

:tchrocks:

Link to comment
Share on other sites

I use Phorm (www.phorm.com) for several form-based pages, and it works great. It will send form results to you in an email (HTML, if you want) and will also write to a text file and/or a MySql database. All your email addresses are coded into config files, so there's no spam exposure.

 

Steve

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...