说明: PHP上传图片例子, $page=isset($_GET['page'])?$_GET['page']:0;//从零开始 $imgnums = 5; //每页显示的图片数 $path="./img/"; //图片保存的目录 $handle = opendir($path); $i=0; while (false !== ($file = readdir($handle))) { list($filesname,$ext)=explode(".",$file); if($ext=="gif" o
<cjjxcn> 上传 | 大小:5kb