上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 125 下一页
摘要: public function tt(){ $num = '19.90'; echo $num; echo '--------------'; echo 100 * $num; echo '--------------'; echo (int)(100 * $num); echo '--------------'; echo (string)(1... 阅读全文
posted @ 2019-06-20 11:44 盘思动 阅读(674) 评论(0) 推荐(0) 编辑
摘要: private function make_code(){ $str = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $return_str = ''; $str_len = strlen($str); for ($i = 0;$i < 6;$i++){ $ra... 阅读全文
posted @ 2019-06-18 16:21 盘思动 阅读(701) 评论(0) 推荐(0) 编辑
摘要: $postXml = $GLOBALS["HTTP_RAW_POST_DATA"]; //接收微信参数 // 接受不到参数可以使用 file_get_contents("php://input"); //PHP 高版本中$GLOBALS["HTTP_RAW_POST_DATA"] 好像已经被废弃了 阅读全文
posted @ 2019-06-17 14:43 盘思动 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: :%s/foo/bar/g 把全部foo替换为bar,全局替换 阅读全文
posted @ 2019-06-14 16:39 盘思动 阅读(186) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-06-12 20:43 盘思动 阅读(1) 评论(0) 推荐(0) 编辑
摘要: public function tt($times = 1){ $rand = mt_rand(1,5); echo $rand . ''; if ($rand != '5'){ $times++; $this->tt($times); } else { ... 阅读全文
posted @ 2019-05-30 19:09 盘思动 阅读(256) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/xinweiyun/p/7667595.html https://www.cnblogs.com/liuyoung/p/7445990.html# 阅读全文
posted @ 2019-05-18 17:00 盘思动 阅读(709) 评论(0) 推荐(0) 编辑
摘要: getchwd() 函数返回当前工作目录。 阅读全文
posted @ 2019-05-18 16:18 盘思动 阅读(205) 评论(0) 推荐(0) 编辑
摘要: https://github.com/wszqkzqk/deepin-wine-ubuntu 14 版本的ubuntu 安装发生问题; 16 18 的都可以安装成功微信; 阅读全文
posted @ 2019-05-16 18:31 盘思动 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 一、添加VirtualBox的源并安装5.1版本 virtualbox官网:https://www.virtualbox.org/wiki/Download_Old_Builds 虽然也可以直接安装deb包(例如:sudo dpkg -i virtualbox-4.3_4.3.10-93012~Ubuntu~raring_amd64.deb),但是我个人通过deb包进行安装出现了问题, 所以采... 阅读全文
posted @ 2019-05-16 18:22 盘思动 阅读(2638) 评论(0) 推荐(0) 编辑
上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 125 下一页