上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 34 下一页
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-12-07 10:55 没事就更 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1.先下载Composer-Setup.exe,下载地址:下载Composer 。会自动搜索php.exe的安装路径,如果没有,就手动找到php路径下的php.exe。 2.在PHP目录下,打开php.ini文件,开启openssl扩展。去掉extension=php_openssl.dll前面的分 阅读全文
posted @ 2017-12-07 10:54 没事就更 阅读(3517) 评论(0) 推荐(1) 编辑
摘要: 一、问题一:MySql默认主键不区分大小写 实例: [sql] view plain copy -- 创建混合类型 create table PlainText( Content nvarchar(50) , primary key(Content) ); insert into PlainText 阅读全文
posted @ 2017-11-07 17:06 没事就更 阅读(2415) 评论(0) 推荐(0) 编辑
摘要: <?php class PHPZip { private $ctrl_dir = array(); private $datasec = array(); /********************************************************** * 压缩部分 ***** 阅读全文
posted @ 2017-10-19 11:53 没事就更 阅读(857) 评论(0) 推荐(0) 编辑
摘要: <?phpclass validateReturn{ //get return msg function caseReturn($aRerurn) { $strMsg = ''; if(isset($aRerurn['msg_code'])) { switch( intval ($aRerurn[' 阅读全文
posted @ 2017-10-19 11:52 没事就更 阅读(226) 评论(0) 推荐(0) 编辑
摘要: <?phpclass Xml{ /* * $aData 要格式化的数组 * $path xml信息要写入的文件路径 * $version xml文件的版本信息 * $encoding xml文件信息的编码形式 * 返回 : false 数组格式不正确 true 成功 */ private $_str 阅读全文
posted @ 2017-10-19 11:51 没事就更 阅读(176) 评论(0) 推荐(0) 编辑
摘要: /* * 获取文件内容 * */ public function getLocalFileContents($file) { $handle = @fopen($file, "rb"); if ( !$handle ) { return false; } else { $strContents = 阅读全文
posted @ 2017-10-19 11:50 没事就更 阅读(112) 评论(0) 推荐(0) 编辑
摘要: /* * $objXml xml格式对象 * 返回 : 对应格式数组 */ public function XmlString2Arr($xml) { if(is_string($xml)) { $xml = simplexml_load_string($xml); } $aXml = (array 阅读全文
posted @ 2017-10-19 11:48 没事就更 阅读(158) 评论(0) 推荐(0) 编辑
摘要: /* * Method to create file 创建文件 * Parameter : (string)filename, (string)content, (string)create mode * Return : (boolean) */ function create_file( $fi 阅读全文
posted @ 2017-10-19 11:48 没事就更 阅读(140) 评论(0) 推荐(0) 编辑
摘要: /** * 获取随机字符串 * @param $lenth * @return string */ function getRandStr($lenth = 20) { $strData = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0 阅读全文
posted @ 2017-10-19 11:46 没事就更 阅读(118) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 34 下一页