- From: William F. Hammond <hammond@csc.albany.edu>
- Date: Thu, 20 Jun 1996 11:08:55 -0400 (EDT)
- To: nachi@csfb.co.jp
- Cc: www-talk@w3.org
The HTTP method POST has been around for a long time. It is certainly not necessary to post from an HTML-form, but this is, I believe, the only form of posting sponsored by most of the popular monolithic browers. You do want to make sure that the destination processing (analogous to the action-URL in a form) is secure before taking in files. For example, you might think about discarding all but the first 10^4 bytes of input if that is an upper bound for the size of reasonable input in your context. The simplest easily available thing now is probably the W3C "Command Line Tool". Let's say, for example, that one has it built as "w3c" under UNIX. Then the usage (from a shell) is: w3c -post -dest {destination-URL} {filename} > Resent-Date: Thu, 20 Jun 1996 06:32:34 -0400 > From: "Nachi Muthu" <nachi@csfb.co.jp> > Message-Id: <9606201927.ZM25053@devel9> > Date: Thu, 20 Jun 1996 19:27:18 +0900 > To: www-talk@w3.org > Subject: how to include the contents of a file within a TEXTAREA > > I have a requirement in which the user of my html form, has to include the > contents of his text file into the TEXTAREA of the FORM in the html document. > I can ask the user to fix the file name, if required. > > Is there any way, I can achieve this? Please send the response directly to my > e-mail. > . . . > ----------------------------------------------------------------- > Nachi Muthu ** Keep :-) ing, it's good for you! ** > ----------------------------------------------------------------- > CS First Boston (Japan) Limited Ph: +81 3 5404 9517 > Shiroyama Hills, 4-3-1 Toranomon Fax: +81 3 5404 9822 > Minato-ku, Tokyo 105 e-mail: nachi@csfb.co.jp
Received on Thursday, 20 June 1996 11:09:11 UTC