Minute Coding PHP Lesson 11 File Upload and Storage ($_FILES, move_uploaded_file)

preview_player
Показать описание
One thing I didn't mention in this video was what $_FILES is for. $_FILES is a global variable that is in charge of handling uploads. The if statement checks to see whether a file was uploaded. If there was a file uploaded, then the statement in brackets will execute.

An additional note: The $name in move_uploaded_file indicates the destination where we want to store the file in.

Link to IDE(S) and its components:

*Minute coding is a channel dedicated to teaching a lesson 1 minute at a time.*

Uploads are 6pm EST daily.
Рекомендации по теме