新浪微博 登陆  注册   设为首页 加入收藏

学PHP >> 最新源码 >> ajax file uploader ajax上传类

ajax file uploader ajax上传类

查看次数8301 发表时间2010-06-16 23:29:38

程序名称:Er. Rochak Chauhan
开发者/组织名称:Er. Rochak Chauhan
运行环境:php+mysql,php+文本
官方网站:http://www.rochakchauhan.com/
下载地址:
请下载附件中的源码,不要直接复制 (已下载 1741 次)

文章来源:http://www.OSphp.com.cn
程序介绍:
点击在新窗口中浏览此图片

//OSPHP.com.CN


This class can be used to browse files uploaded via Web forms using AJAX methods to send the files without reloading the form page.

There is auxiliary Javascript code that can upload in the background a file that the users chooses in a Web page form and updates the upload message status in the page.

A server side auxiliary script gets the uploaded files and copies to an upload directory.

The class can be used to scan the upload directory and list the previously uploaded files according to different types: image, sound, video and other.

#1) Make sure the destination directory (in my case uploaded/files/) exists in the base folder (folder where these files are)
#2) Also make sure that the destination folder(s) have read and write rights.
(转发请注明转自:学PHP)    


  相关推荐




  发表评论
昵称:
(不超过20个字符或10个汉字)
内容: