January 27th, 2004, 10:03 PM
Exporting from forms as text
(Anonymous access, without logging in or setting up any type of account before hand, is also required)
Using e-mail is not an option, using the cgi-bin of the web server is not an option, php is not an option, and having to set up an additional server or services of any kind is not an option.
I do have full administrative access to the web server, however as previously said, changing just about anything is not an option.
I am not sure if this is possible but hopefully one of my fellow AO'ers will be able to assist me in this problem.
Again, any help is greatly appreciated.
January 27th, 2004, 11:59 PM
I think I follow what you are saying. Do you have Server Side Includes, could you possibly use the SSI exec command to echo the variables out to a text file? If not could you do some jS? Check out the information @ http://www.faqts.com/knowledge_base/...id/5785/fid/53 for writing variables to a document. Using that and some simple variable passing you should beable to pull off what you want..
IT Blog: .:Computer Defense:.
(Pronounced Pinched): Acronym - Point 'n Click Hacked. As in: "That website was pinched" or "The skiddie pinched my computer because I forgot to patch".
January 28th, 2004, 12:03 AM
January 28th, 2004, 12:48 AM
The3ntropy - With _NO_ cgi-bin or any server-side processing? I don't think that is possible.
You will need something server side to recieve it. The <FORM NAME="MyInput" TARGET="get.php"> tag needs a target on the webserver that can take it and save it to a file. Otherwise, it simply isn't possible to put it on the server with only client side, as far as I'm aware.
HTRegz - that appears to be client-side and wouldn't do anything for the webpage on the server. I have some ActiveX code for IE that saves files, but again that is client-side and will not make a file on the webserver. Although SSI is possible, 3ntropy said to use nothing serverside and I'm sure that it isn't possible in that case...
January 28th, 2004, 06:38 AM
Sorry for not stating it early, I thought that it would be assumed, no server side includes. Like I said from before, there cannot be the need to change, or add any serverices to the web server.
I need the server to be able to accept the form's input results and be able to save (or append) them to a plain text file or any file for that matter on it's side (server side). I was hoping to do something similar to allowing guest access to a folder, limit it's maximum size, and be able to somehow target the output of the form to a file(s) within that folder.
I would greatly appreciate it if anyone would be able to show or instruct me how to do this. Please and thank you; as usual.
January 28th, 2004, 06:46 AM
I don't think this is possible at all. AFAIK, to write anything to the server, you need to be able to use some kind of server side code. One thing that I can think of, is using some kind of server vulnerability to write your files. Otherwise, it *shouldn't* be possible.
January 28th, 2004, 06:53 AM
The3ntropy - You can't just expect Apache or IIS to know what to do with the input. All the web server is there for is serving up files via HTTP.
That being said, you will need some server side code, ie PHP, ASP, SSI, CGI-BIN (PERL, C/C++, etc) to take the input, and save it into a file. Of course from there securing it is important - you don't want them to be able to save or overwrite any file on the web server machine through it.
But if you don't want to use any scripts...you won't be able to have them acturally submit the information (form) and have the information recorded. The web server would simply drop it all, which would get you nowhere. So if you simply cannot use any server-side scripting...there really isn't much you can do...
Edit - cgkanchi beat me...
January 28th, 2004, 05:43 PM
The error log idea is a nifty one, but due to the expected volume of users to be sending in the form it would not be reasonable.
January 31st, 2004, 12:39 AM
*sigh*. . .oh well, thanks for the help everyone.
February 1st, 2004, 03:36 PM
While it's a clunky process you may just want to give them a standard text/doc/whatever file to download and fill out....then have them save it to the server with a 'file' input.
"When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
"There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
"Mischief my ass, you are an unethical moron." - chsh
Blog of X