Vergus Lee
New member
How to upload image from a user to the server via html page?
I've found this code:
<input type="hidden" name="MAX_FILE_SIZE" value="1000" />
<input type="file" />
But, of course, that's not enough anyway. Second of all, it should upload a file WITHOUT pressing button Submit. ONCE, THE FILE IS CHOSEN, IT STARTS UPLOADING TO THE SERVER AUTOMATICALLY.
If it helps, the folder localhost/images/ for file storage would be fine.
Once it's uploaded it says OK or error on the next page.
Thank you.
I've found this code:
<input type="hidden" name="MAX_FILE_SIZE" value="1000" />
<input type="file" />
But, of course, that's not enough anyway. Second of all, it should upload a file WITHOUT pressing button Submit. ONCE, THE FILE IS CHOSEN, IT STARTS UPLOADING TO THE SERVER AUTOMATICALLY.
If it helps, the folder localhost/images/ for file storage would be fine.
Once it's uploaded it says OK or error on the next page.
Thank you.