The difference between system file upload and $_FILES usage in thinkphp5

The difference between system file upload and $_FILES usage in thinkphp5

  $aa=request()->file('file');
    $bb=$aa->getInfo();

The file behind is the name of the file

$bb等同于$_FILES['file']

file is the name of the uploaded file

Reprinted from: https://www.cnblogs.com/baker95935/p/12703938.html

Guess you like

Origin blog.csdn.net/z3287852/article/details/111564278