part 5 - Multiple File uploading | PHP Super Global Variables

Опубликовано: 05 Октябрь 2024
на канале: GoPHP
151
2

By using this variables, we can get the uploaded file information like: file name, lifepath, size, type, temporary path, error code
BY default an HTML form can transfer, plain text data and html text only.
An HTML form can not transfer uploaded files to server by default

If we want to make a form to transfer the media data, we have to add an attribute enctype to the form
enctype="multipart/form-data"