📜  php 检查 post 文件是否为空 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:05.380000             🧑  作者: Mango

代码示例1
if ($_FILES['cover_image']['size'] == 0 && $_FILES['cover_image']['error'] == 0)
{
    // cover_image is empty (and not an error)
}