会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
没事就更
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
21
22
23
24
25
26
27
28
29
···
34
下一页
2017年12月7日
Windows不重启就使环境变量修改生效
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2017-12-07 10:55 没事就更
阅读(3)
评论(0)
推荐(0)
编辑
Windows环境下Composer的安装教程
摘要: 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)
编辑
2017年11月7日
MySql主键不区分大小写问题、查询不区分大小写问题
摘要: 一、问题一: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)
编辑
2017年10月19日
php 压缩文件 zip
摘要: <?php class PHPZip { private $ctrl_dir = array(); private $datasec = array(); /********************************************************** * 压缩部分 *****
阅读全文
posted @ 2017-10-19 11:53 没事就更
阅读(857)
评论(0)
推荐(0)
编辑
php 创建返回结果配置文件 实例
摘要: <?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)
编辑
php 生成xml文件
摘要: <?phpclass Xml{ /* * $aData 要格式化的数组 * $path xml信息要写入的文件路径 * $version xml文件的版本信息 * $encoding xml文件信息的编码形式 * 返回 : false 数组格式不正确 true 成功 */ private $_str
阅读全文
posted @ 2017-10-19 11:51 没事就更
阅读(176)
评论(0)
推荐(0)
编辑
php 获取读取文件内容
摘要: /* * 获取文件内容 * */ public function getLocalFileContents($file) { $handle = @fopen($file, "rb"); if ( !$handle ) { return false; } else { $strContents =
阅读全文
posted @ 2017-10-19 11:50 没事就更
阅读(112)
评论(0)
推荐(0)
编辑
php xml格式对象 返回->对应格式数组
摘要: /* * $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)
编辑
php 创建文件
摘要: /* * 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)
编辑
php 生成随机字符串
摘要: /** * 获取随机字符串 * @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
下一页
公告