1.2.1. $FILES full_path¶
A new index ‘full_path’ was added to the $_FILES to handle directory <https://www.php.net/`directory>`_ uploads. This was added in PHP 8.1, and is not available before.
<?php
// list uploaded files in a directory
print_r($_FILES['full_path']);
?>
See also PHP 8.1: $_FILES: New full_path value for directory-uploads.
1.2.1.1. Specs¶
Short name |
Php/FilesFullPath |
Rulesets |
All, Changed Behavior, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, CompatibilityPHP74 |
Exakat since |
2.2.4 |
PHP Version |
With PHP 8.1 and older |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Features |
$_files |
Available in |