What is the correct syntax for accessing file names in PHP when using the $_FILES array?

When accessing file names in PHP using the $_FILES array, you need to specify the input name of the file upload field as the key in the $_FILES array. The file name can be accessed using the 'name' key within the $_FILES array. This allows you to retrieve the original name of the uploaded file.

$fileName = $_FILES['fileInputName']['name'];