[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text file i/o....



On Mon, 19 Feb 1996 12:20:21 -0800, you wrote:

>On Feb 19,  1:50pm, Luke Cassady-Dorion wrote:

>> Does anyone know if it is possible to write a JS function which reads from
>> a server side text file? Or would this go against the security restraints
>> which JS inforces so tightly?

>You want to use '<form enctype=3D"multipart/form-data" . . .>'.  Inside t=
>he form,
>use the tag: "<input type=3Dfile SIZE=3D30 NAME=3D . . .>".  On compatibl=
>e browsers,
>this will pop up a text input area with a button labeled "browse . . ." n=
>ext to
>it.  When the user clicks on the button, they get a file selection dialog=

He asked about SERVER side text file.  This MIME type is for CLIENT
side files.
--------------------------------------------------------------------
This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.