Click to See Complete Forum and Search --> : help saving form information


fras
02-28-2003, 08:26 AM
I know this is possible with cgi but I'm unable to use it.
What I want is a simple script that saves form information to a file. All files will be local including the form.html file and the output file(probably a txt file?)
This is most likely very simple to people in the know but I'm not too hot on html stuff ? :confused:

Just to expand on the above, basically I have made a html questionnaire and obviously want the responses. It's all done on a local network so I just want the files to be saved so I can collate the repsonses.
At the moment if I save a form none of the information is kept.

Any suggestion to help me do this would be much appreciated.

pyro
02-28-2003, 10:10 AM
Well, javascript and HTML do not have the ability to save to a file. This will require some server side language, PHP or ASP, if CGI/Perl is not an option. If both of them are unavailable, you will have to have you form mail you the info, via a mailto, like this:

<form action="mailto:you@your.com" method="post" enctype="text/plain" name="yourform">

fras
02-28-2003, 01:35 PM
many thanks, the prob with mailto is all the machines on the network use a web based mail client. I think I might host the files elsewhere and use cgi.
thx again

pyro
02-28-2003, 01:47 PM
Originally posted by fras
I think I might host the files elsewhere and use cgi.That would be the best bet. But, is it an intranet? Can't you just install Perl?