Solved

html Forms

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Import csv files to MS SQL 5 61
Select2 jquery help 9 46
Problem to ToolkitScriptManager 2 31
modify h2 4 19
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 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

18 Experts available now in Live!

Get 1:1 Help Now