Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - multipart
Search - multipart - List
DL : 0
功能列表 - 理论上可以上传无限大的文件 - 实时显示上传状态、进度 - 支持多文件上传以及与表单混合上传 - 方便的用户调用接口 - 兼容不同浏览器 - ... 注意: 1. UPU需要php4.3.0及其以上版本,并打开socket扩展 2. upu/temp为上传临时文件存放目录, upu/files为文件存放目录,这两个目录可以在 upu.class.php中指定。 3. 你的<form>中要有enctype=\"multipart/form-data\"这个属性,action为文件上传成功后 的处理页面,也就是说你的<form>完全按照正常的思路来写就可以了,唯一不同的是需 要加入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 document storage directory, This directory can be in two upu.class.php designated. 3. You
Date : 2008-10-13 Size : 45.61kb User : kuang

DL : 0
功能列表 - 理论上可以上传无限大的文件 - 实时显示上传状态、进度 - 支持多文件上传以及与表单混合上传 - 方便的用户调用接口 - 兼容不同浏览器 - ... 注意: 1. UPU需要php4.3.0及其以上版本,并打开socket扩展 2. upu/temp为上传临时文件存放目录, upu/files为文件存放目录,这两个目录可以在 upu.class.php中指定。 3. 你的<form>中要有enctype="multipart/form-data"这个属性,action为文件上传成功后 的处理页面,也就是说你的<form>完全按照正常的思路来写就可以了,唯一不同的是需 要加入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 document storage directory, This directory can be in two upu.class.php designated. 3. You
Date : 2026-01-08 Size : 45kb User : kuang

DL : 0
一直以来,由于FileSystemObject的局限,所以ASP最大的难题就是文件上传,大多解决法就是安装 第三方上传组件。可第三方组件有很多问题,有的组件要注册,有的组件要在表单中加上他的版权信息。 还有的就是组件的兼容问题。 在网上也流传了很多无组件上传的代码,但都是只能上传文本文件,或是只能将文件上传到数据库中。 我这段时间在研究ASP,发现可以不用第三方组件上传任意类型的文件。就写了这个类,给大家一 个方便,整个类放在一个文件中: upload_5xsoft.inc 在 Example 目录下还有一个完整的多文件上传示 例程序,可以直接使用。 a)可直接运行于 Windows2000+IIS 5 NT4 或是 Win98+PWS, 要安装ADO2.6 下载地址:http://www.microsoft.com/data/: <!--#include FILE="upload_5xsoft.inc"--> 就行了 b) 在使用文件上传时, 表单 form 要加上 enctype="multipart/form-data" 即: <form name="form1" method="post" action="" enctype="multipart/form-data"> <input type="text" value="abc" name="text1"> <input type=file name="file"> <input type=submit name="submit" value="提交"> </form> -All along, due to the limitations of FileSystemObject, so the biggest problem is the ASP file upload, most of the solution method is to install Third-party upload components. Third-party components can be a lot of problems, and some components to be registered, and some components in a form letter with his copyright Information. There is the component of the compatibility problems. The Internet has spread a lot of free component to upload code, but they are only uploading text files, or can upload the file to the database In. I study this period of time in ASP, not third-party components that can upload any type of file. To write this class to everyone A convenient, the whole class in a file: upload_5xsoft.inc in the Example directory there is a complete multilingual Pieces show uploading Example program that can be used directly. a) can be directly run on Windows2000+ IIS 5 NT4 or Win98+ PWS, to install ADO2.6 Download: http://www.microsoft.com
Date : 2026-01-08 Size : 7kb User : ICE
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.