Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Feedback on: irt.org FAQ Knowledge Base Q425, on February 28, 2000 at 12:16:11:

You are here: irt.org | About | Feedback | 873 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q425

Sent by
Mark Davison on February 28, 2000 at 12:16:11:

Worth reading

Q425 How can I read client-side files or upload them to a server?

A425 You can't do this with just Client Side JavaScript. You need something on the server side, either Server Side JavaScript or a CGI script.

Mostly true, but unlike Java, it's possible to use files on client machine.
For example use HTML file upload form element to browse for file on client. The file name is then submitted as query string to a web page, the file name can be document.written to incorporate it into the web page.

I use this to incorporate an image on the client machine into a web page (see below). It's purely client side.


©2018 Martin Webb