今天在网上看到一网友写了多文件上传的功能,我现在把它整理一下,呵呵,占点便宜了.
共有三个文件,第一个为html文件,就是上传,第二个是fileclass.php 上传文件的php代码,最后一个是显示index.php文件,这个文件是读取目录里面的文件显示,而不是从数据库读取.
下面来看看html文件代码如下:
澶 Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn