Solved

How to create/configure a script which allows the trasmission of HTML form data.

Posted on 2012-03-21
5
367 Views
Last Modified: 2013-12-25
I have developed a form in HTML and I want to allow the users to send data from the client servers, not with mailto method; the Javacript "<form... action="..."> needs only to be completed with the action reference, I guess.
I have found on the web some standard scripts (mainly CGI) and I would like to:
1) be supported in thei configuration/customization;
2) know if my web provider servers must have some particular requirements;
3) know which can be the most adeguate.
These are the mainly scripts I have found:
http://allforms.mailjol.net/
http://www.cs.tut.fi/~jkorpela/forms/index.html 
http://www.scriptarchive.com/formmail.html
http://www.form2email.net/instructions/ 
Thank you.
0
Comment
Question by:Sar1973
  • 3
  • 2
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 37751807
1) you need a simple script/CGI (perl, java, ruby) which then needs to be configured
2) you need to ask
3) depends

ensure that the program you use make a proper and very strong check and validation of all data it processes, in particular those data which are passed by the browser (user)
ensure that the script uses whitelist for these validation, don't use a script which uses blacklist validation
0
 
LVL 9

Author Comment

by:Sar1973
ID: 37753845
For what concerns data validation, I can ensure that every field outputs:
- numbers validated with a custom formula;
- strings from combo boxes;
- yes/no values from chech boxes and radio buttons.
Only 2 fields are input type-free (and one of those checks the email format); I think that the only further validation may concern strange characters (#,<,>,ç, others).
But my questions is: can you support me step by step in configuring the script proposed for example by http://www.scriptarchive.com/readme/formmail.html#setting_up?
I think that then I should save it with a custom name and upload it in my web site directory.
That is to say:
A. download the script model from this site;
B. open the file and change/set the different parameters;
C. etc.
0
 
LVL 9

Author Comment

by:Sar1973
ID: 37762806
Unfortunately, some of the services I have found on the web force the user to accept a disclaimer which makes them not compliant with local laws and/or standards.
0
 
LVL 9

Author Comment

by:Sar1973
ID: 37770164
Definitely, I would appreciate help in configuring a script such as http://www.cs.tut.fi/~jkorpela/HTML3.2/5.25.html, knowing if it needs PERL or other software on my provider servers.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 340 total points
ID: 37770267
you need a script or program for sure to handle the form data server side
if this script is perl or any other language doesn't matter, it just needs to be supported by your web server
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question