Solved

html Forms

Posted on 1997-07-05
5
155 Views
Last Modified: 2013-12-25
How can the data  entered on a html form be saved on the when a form is submitted How Can I store the contents of the Form(Data Only)  on Client as a text file.



0
Comment
Question by:imtiaz070597
  • 3
5 Comments
 
LVL 5

Accepted Solution

by:
icd earned 100 total points
ID: 1854407
the only way you can save the contents of a form is by running a script program that runs on the server.

Many of the free, or cheap, service providers do not allow you to create your own scripts, although they may offer a small number of off the shelf scripts which you can use. Typically there is one called 'formmail' that will take the form values and email them to you so that you can process the data on your own pc.

If you *are* able to upload your scripts to your host then the possibilities are endless. You can write your own script (usually in perl, but there are many choices for scripting languages) or you can download many free scripts from various sites.

Check with your service provider to find out what they will let you do and any standard scripts that they may have.

If you are able to upload your own scripts then come back here and I can show you where there are scripts you can download.


0
 

Expert Comment

by:darkman
ID: 1854408
The best I can do here (Since they've pretty much answered it) is
give you an URL to a free web space provider with CGI Access
(CGI-WIN, CGI-BIN, CGI-DOS) plus all kinds of other neat gizmos
perfect for making cool web pages.  The URL is:
http://www.cybercity.hko.net
from there just click on Apply on the left side.  Inside the form
will be an option that says "Referer" type numb .  
0
 
LVL 5

Expert Comment

by:icd
ID: 1854409
darkman.

Your comment pretty much proves my point. There Aint No Such Thing As A Free Lunch (TANSTAAFL). I tried out the site you mentioned and it was slooooooooow. (Took over five minutes to load the home page!). I eventually managed to register (referred to you!) so I will see if it is possible to mirro my own site there. Also be aware that your email address is sold on to other people so they can send you bulk email advertising!

0
 

Author Comment

by:imtiaz070597
ID: 1854410
My Problem still remains unsolved.
I would like to see some script especially javaScript wherein one is able to save the data on the client as a text file..
0
 
LVL 5

Expert Comment

by:icd
ID: 1854411
Sorry, not possible to save files on the client with Javascript. This is for security purposes, otherwise naughty webmasters would be corrupting your hard disk with files or even running programs on your hard disk (like format!).

However if you start looking at activeX (only for MSIE however) or plugins (Netscape only) or Java with native methods (OS specific) then there might be a solution, but one which is not trivial by any means.

Those pages you see that save information in web pages (such as guest-books) do so by running cgi scripts on the server.

Any reason why you can't run cgi?

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

Read about why website design really matters in today's demanding market.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

839 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