Solved

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

Posted on 2012-03-21
5
362 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
The viewer will learn how to count occurrences of each item in an array.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now