时间:2021-07-01 10:21:17 帮助过:5人阅读
ajax php教程多文件上传代码
$file_path = '../../../uploads/';
$file_up = $file_path.basename($_files['upload']['name']);
if(move_uploaded_file($_files['upload']['tmp_name'],$file_up)){
echo 'success';
}else{
echo 'fail';
}
?>
http://www.bkjia.com/PHPjc/630134.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/630134.htmlTechArticle!doctype html public -//w3c//dtd xhtml 1.0 transitional//en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml head meta http-equiv=con...