文章列表
<?php
/**
* @author ljh <vkey24@sina.com>
*/
$upload_file=$_FILES['upload_file']['tmp_name'];
$upload_file_name=$_FILES['upload_file']['name'];
if($upload_file){
$file_size_max = 1000*1000;// 1M限制文件上传最大容量(bytes)
$store_dir = "D:/www/test/upload/";/ ...