oldteacher
Active member
Using the upload example from @Gilmichel
Sample Choosing and uploading a file with html form! How to (ExeOutput)
For fun, tried a .txt file and also corrupted as all contents of text file replaced with a single “1”.
Any ideas how to solve this issue?
Every upload results in image which is one byte (corrupted). Not getting any error, just corrupt image in uploads folder.To choose and upload a file without using HEScript code you can do as follow: > <head> > <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script> > <style> > input[type="file"]{ > color: transparent; > } > </style> > </head> > <html> > <body> > <script> > $(function () { > $('input[type="file"]').change(function () { > if ($(this).val() != "") { > $(this).css('color', '#333'); > }else{ > $(this).css(…
For fun, tried a .txt file and also corrupted as all contents of text file replaced with a single “1”.
Any ideas how to solve this issue?