📌  相关文章
📜  wp_handle_upload 返回上传的文件名 - PHP 代码示例

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

代码示例1
$movefile = wp_handle_upload($uploadedfile, array('test_form' => false));
$new_filename = basename( $movefile['file'] );
$filename_was_changed = new_filename !== $_FILES['image_verification']['name'];