摘要: 对于PHP遍历目录和文件列表,下面写了一个简单的类,并附上使用实例,如有所疏漏及错误,请大家指点![php] view plain copy getDir( $Dir ); if( $DirFileArray ){ foreach( $Di... 阅读全文
posted @ 2017-06-02 16:37 wepe 阅读(633) 评论(0) 推荐(0)
摘要: [html] view plain copy 首先我们建立一张带有逗号分隔的字符串。 CREATE TABLE test(id int(6) NOT NULL AUTO_INCREMENT,PRIMARY KEY (id),pname VARCHAR(20) NOT NULL,pnum VARCH... 阅读全文
posted @ 2017-06-02 16:34 wepe 阅读(217) 评论(0) 推荐(0)
摘要: 1.header[php] view plain copy header("Content-Type:application/vnd.ms-excel"); header("Content-Disposition:attachment;filename=sample.xls"); header(... 阅读全文
posted @ 2017-06-02 16:29 wepe 阅读(463) 评论(0) 推荐(0)