Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

919 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

15 Experts available now in Live!

Get 1:1 Help Now