Concept Flow - $_FILES for file uploads
User selects file in form
Form submits with enctype="multipart/form-data"
PHP receives request
$_FILES array is populated
Access $_FILES['input_name'
Process file: check errors, move uploaded file
File saved or error handled
This flow shows how a file selected by the user in a form is sent to PHP, which fills the $_FILES array to let you access file info and handle the upload.