How do I get the contents of a local file, say:
in a variable
Can I use the filereader http://www.w3.org/TR/file-upload/#dfn-filereader? If yes, then how?
This is likely your only option without employing Flash/Silverlight/Java.