功能列表
代码说明:
功能列表 - 理论上可以上传无限大的文件 - 实时显示上传状态、进度 - 支持多文件上传以及与表单混合上传 - 方便的用户调用接口 - 兼容不同浏览器 - ... 注意: 1. UPU需要php4.3.0及其以上版本,并打开socket扩展 2. upu/temp为上传临时文件存放目录, upu/files为文件存放目录,这两个目录可以在 upu.class.php中指定。 3. 你的中要有enctype="multipart/form-data"这个属性,action为文件上传成功后 的处理页面,也就是说你的完全按照正常的思路来写就可以了,唯一不同的是需 要加入onsubmit="return upuInit(this)" 4. 上传成功后,可以使用$_POST来获取表单数据,如果是普通表单,直接 $_POST[ 表单名称 ]即可获得其值,如果是一个文件,则返回这样一个数组 $_POST[ 表单名字 ] = Array ( [filename] => [clientpath] => [savepath] => [filetype] => [filesize] => [extension] => ) -function list-theoretically unlimited upload large files-real-time display upload state, progress-support multi-file upload form and mixed with upload-called user-friendly interface-compatible with a variety of browsers- .. . Note : 1. UPU need php4.3.0 and above. and open the socket extension 2. Approved/temp to store temporary files upload directory, Approved/files for
下载说明:请别用迅雷下载,失败请重下,重下不扣分!