上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 125 下一页
摘要: https://myssl.com/ssl.html 阅读全文
posted @ 2019-11-29 09:25 盘思动 阅读(512) 评论(3) 推荐(0) 编辑
摘要: # passwd runoob //设置runoob用户的密码 Enter new UNIX password: //输入新密码,输入的密码无回显 Retype new UNIX password: //确认密码 passwd: password updated successfully 阅读全文
posted @ 2019-11-26 17:44 盘思动 阅读(550) 评论(1) 推荐(0) 编辑
摘要: 默认情况下mysql会一直保留mysql-bin文件,这样到一定时候,磁盘可能会被撑满,这时候是否可以删除这些文件呢,是否可以安全删除,是个问题。 首先要说明一下,这些文件都是mysql的日志文件,如果不做主从复制的话,基本上是没用的,虽然没用,但是不建议使用rm命令删除,这样有可能会不安全,正确的 阅读全文
posted @ 2019-11-18 14:17 盘思动 阅读(8867) 评论(1) 推荐(0) 编辑
摘要: <pre>array(16) { [&quot;appid&quot;] =&gt; string(18) &quot;xxxxxxxxxxxxxxxxxxx&quot; [&quot;bank_type&quot;] =&gt; string(3) &quot;CFT&quot; [&quot;c 阅读全文
posted @ 2019-11-14 11:04 盘思动 阅读(380) 评论(0) 推荐(0) 编辑
摘要: date("Y-m-d H:i:s",strtotime("+1 month")) 下个月今天此时 $stime = strtotime('2019-11-11'); date("Y-m-d H:i:s",strtotime("+1 month",$stime)) 距离某日期开始,下个月该时间 阅读全文
posted @ 2019-11-13 17:10 盘思动 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 在PHP中暂停代码执行一定时间,有两个函数可以实现,一个是sleep(),另一个是usleep(),它们参数都是一个整数值。sleep()是暂停多少秒,usleep()是暂停多少微秒。 注意:usleep()单位是微秒,1秒 = 1000毫秒 ,1毫秒 = 1000微秒,即1微秒等于百万分之一秒。 阅读全文
posted @ 2019-11-13 14:47 盘思动 阅读(432) 评论(0) 推荐(0) 编辑
摘要: array(9) { [0]=> string(16) "CallbackDemo.php" [1]=> string(8) "Demo.php" [2]=> string(9) "README.md" [3]=> string(15) "UnionClient.php" [4]=> string( 阅读全文
posted @ 2019-11-02 11:38 盘思动 阅读(736) 评论(0) 推荐(0) 编辑
摘要: //请修改变量p的正则表达式,使他能够匹配str中的姓名 $p = '/name:([\w\s]+)/'; $str = "name:steven jobs"; preg_match($p, $str, $match); print_r($match);Array ( [0] => name:steven jobs [1] => steven jobs ) //?????? 阅读全文
posted @ 2019-11-01 20:52 盘思动 阅读(247) 评论(0) 推荐(0) 编辑
摘要: $p = 'http://'; $p = '/'.preg_quote($p, '/').'/'; echo $p;/http\:\/\// 阅读全文
posted @ 2019-11-01 20:31 盘思动 阅读(108) 评论(0) 推荐(0) 编辑
摘要: array_slice 分割数组, 效果相当于 substr 类似字符串操作 阅读全文
posted @ 2019-11-01 13:44 盘思动 阅读(127) 评论(0) 推荐(0) 编辑
上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 125 下一页