php页面:header('content-type: text/html; charset=utf-8');

HTML页面:<meta http-equiv="content-type" content="text/html;charset=utf-8">

<form action="./upload.php" method="post" enctype="multipart/form-data">       //上传文件提交到其他页面

date_default_timezone_set('asia/shanghai');        //设置时区