3 Sep
2001
3 Sep
'01
3:40 p.m.
I need to allow users upload a text file, and edit it. Like this: <form action="&dtml-URL0;" method="post" enctype="multipart/form-data"> <textarea name="file" cols="50" rows="8"> <dtml-if file> <dtml-var file> </dtml-if> </textarea><br> <input type="file" name="file" size="25" value=""><br> <input type="submit" name="submit" size="25" value="Go!"> </form> But it does not work as desired. Although I use enctype="multipart/form-data", it still displays "[' ', <ZPublisher.HTTPRequest.FileUpload instance at 873b710>]" within textarea. How can I make it display the contents of uploaded data? -- Milos Prudek