摘要: 源代码:$is_upload = false; $msg = null; if (isset($_POST['submit'])) { if (file_exists(UPLOAD_PATH)) { if (($_FILES['upload_file']['type'] == 'image/jpeg 阅读全文
posted @ 2023-09-15 17:47 Brad1 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 源代码: function checkFile() { var file = document.getElementsByName('upload_file')[0].value; if (file == null || file == "") { alert("请选择要上传的文件!"); retu 阅读全文
posted @ 2023-09-15 17:17 Brad1 阅读(135) 评论(0) 推荐(0) 编辑