Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

html Forms

Posted on 1997-07-05
5
Medium Priority
?
164 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 300 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
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 dynamically set the form action using jQuery.
Suggested Courses

963 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