随笔分类 - Php
摘要:<?phpsession_start();$width=50;$height=22;$img=imagecreatetruecolor($width,$height);$times=4;//$arr1=range("a","z");$arr2=range(0,9);//$arr3=range("A","Z");//$arr=array_merge($arr1,$arr2,$arr3);$arr=array_merge($arr2);$keys=array_rand($arr,$times);$str=&quo
阅读全文
摘要:<!--分页插件的使用$p=new Page();$p->init_pagedate($counts, $pagesize, $page, $url);//$counts 查询记录数 / $pagesize每页显示记录数 / $page当前页码 / url 页码指向的地址$p->pageshow();--><style type="text/css">#pages{ font:9pt Verdana,Tahoma; color:#625F5F;}#pages a {margin:3px;padding:3px;color:#175CBB;
阅读全文