<form action="upload.html" method="post" enctype="multipart/form-data"> <input type="file" /> <input type="submit" value="Upload" /> </form> I saved this file as main.html I made a dir called 'images' with chmod 777 what should be in the file called 'upload.html' ?? I don't want to use any php or asp files just html files, so how can I do it by html files only ?