Hi OniShirox
In order to encode a file in client side, you should first open it using javascript, and this would not be possible (due to security restriction) unless you use an ActiveX like FileSystemObject, and it works only on IE.
After opening file by ActiveX, you can read it's content and do anything you want and finaly store it in a hidden text field to be send to client.
Ehsan Zaery Moghaddam
|