Document upload principle Simple implementation
To implement file upload, we must first understand the HTTP request of the uploaded file. The following simple application demonstrates how to upload files and write the original data of the HTTP request to the file. Use the text editor to see the file to understand the format of the request. On this basis, we can extract the name, file content of the upload file, the content, and other information whose mixed.
Here we write a simple HTML page UP.html, provide a form, the user selects the file from here and uploads the file to the server.
file upload title>
hEAD>