PDA

View Full Version : writing a file via form


joan
07-12-2002, 10:24 AM
Hi!

I need to write a file (append data) from a form fields in a intranet enviroment. After this file must be read it in excel.

I suposse it can be done with databases (coldfusion, asp). Is there any cheap and easier solution?.Have you any sugestion, tutorial, link or idea ?

Thanks in advance

Joan

joh6nn
07-12-2002, 10:28 AM
no. javascript, and other client side languages, don't have any file read or write capabilities. you need a server side language. they're designed for this sort of thing.

joan
07-12-2002, 11:06 AM
Thans joh6nn!

I drive to the right forum

Joan

premshree
07-12-2002, 12:48 PM
I think it can be done using client-side VBScript using FileSystemObject

joan
07-12-2002, 01:45 PM
Thanks premshree

I'm looking for it.

joan

joh6nn
07-12-2002, 02:30 PM
VBScript and JavaScript could write to the clientside, using the windows scripting host. it's actually pretty easy to do. but she wants to write to a database, which means writing to the server. that may be possible, but i've never seen it done, and i wouldn't know how to go about it. in general, joan is better off using a server side language.

joan
07-15-2002, 09:24 AM
Thanks joh6nn for your clever explain !

I'm goint to have some test.

PD: she is he. I'm john like you, but in other language (catalan = joan)

See you

joan