php判断<input name="images_upload[]" type="file" id="images_upload" multiple="multiple" />是否为空

日期:2022-02-10 03:34:12 人气:1

php判断<input name="images_upload[]" type="file" id="images_upload" multiple="multiple" />是否为空

if($_SERVER['REQUEST_METHOD'] == 'POST')
{
echo '<pre>';
$name = $_FILES['file']['name'];
if(empty($name))
{
echo 'empty';
    A+
热门评论