video #36 - Advance PHP | FULL INPUT FORM | FILE UPLOAD
OldManPHP OldManPHP
26 subscribers
16 views
0

 Published On Aug 22, 2024

In this video, I will show how to upload a file to your server. This is a PHP video and not HTML lesson, but I will show you a basic HTML with a form.

First off, you will use the “!DOCTYPE html” declaration. It is not an HTML tag. This tells the browser about what type of document to expect.

Right, now it is HTML5. The “enctype” attribute specifies how the form-data should be encoded when submitting it and it is use for method “POST”.

The “multipart/form-data” value is necessary if you are uploading a file.

show more

Share/Embed