Solved

html Forms

Posted on 1997-07-05
5
154 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This video teaches users how to migrate an existing Wordpress website to a new domain.
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.

803 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