文件名称:php常见类封装
文件大小:57KB
文件格式:ZIP
更新时间:2021-04-26 12:00:20
php
常见各种开发,类,大集合,遵循拿来即用,比如如下代码 $code = new activeCodeObj; $str = $code->getCode($length, $mode); */ class activeCodeObj { function getCode ($length = 32, $mode = 0) { switch ($mode) { case '1': $str = '1234567890'; break; case '2': $str = 'abcdefghijklmnopqrstuvwxyz'; break; case '3': $str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case '4': $str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; break; case '5': $str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'; break; case '6': $str = 'abcdefghijklmnopqrstuvwxyz1234567890'; break; default: $str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'; break; }
【文件预览】:
php操作常用class集
----class()
--------MyCalendar_class.php(9KB)
--------Zip.class.php(7KB)
--------upload.class.php(2KB)
--------more_upload_file.class.php(4KB)
--------Ftp.class.php(4KB)
--------shtml.class.php(2KB)
--------cache2.class.php(9KB)
--------page.class.php(4KB)
--------show_article.class.php(6KB)
--------activeCodeObj.class.php(13KB)
--------MyPic.class.php(9KB)
--------ascii.class.php(2KB)
--------user.class.php(1013B)
--------calender.class.php(11KB)
--------utf8_chinese.class.php(18KB)
--------database.class.php(2KB)
--------validate_form.class.php(3KB)
--------page_class.php(8KB)
--------CheckCodeFile.class.php(3KB)
--------table2sql.class.php(2KB)
--------SysCrypt.class.php(2KB)
--------book.class.php(2KB)
--------mysql.php(6KB)
--------file_dir.class.php(4KB)
--------checklogin.class.php(750B)
--------image.class.php(4KB)
--------test_class.php(423B)
--------cache.class.php(4KB)
--------IDcard.class.php(930B)