摘要: /** * implode函数的升级版 * 将一个多维数组的值转化为字符串 * @param $glue * @param $data * @return string */function multiImplode($glue, $data){ if( !isset($glue,$data) || 阅读全文
posted @ 2018-07-26 14:54 Rumble_lu 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 问题如下:[root@localhost apps]# ftp 10.xxx.xxx.xxxConnected to 10.xxx.xxx.xxx220 (vsFTPd 2.0.5)530 Please login with USER and PASS.530 Please login with U 阅读全文
posted @ 2018-07-26 14:49 Rumble_lu 阅读(636) 评论(0) 推荐(0) 编辑
摘要: # shopt -s extglob# rm -fr !(file1)如果是多个要排除的,可以这样:# rm -rf !(file1|file2)首先科普下shopt -s extglobBash Shell有个extglob选项,开启之后Shell可以另外识别出5个模式匹配操作符,能使文件匹配更加 阅读全文
posted @ 2018-07-26 14:47 Rumble_lu 阅读(12935) 评论(0) 推荐(0) 编辑
摘要: <?php/** * article url:http://kvz.io/blog/2009/06/10/create-short-ids-with-php-like-youtube-or-tinyurl/ * * Translates a number to a short alhanumeric 阅读全文
posted @ 2018-07-26 14:46 Rumble_lu 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 在centos6.6上安装apache2.4+php5.6+mysql5.6 关于wget的安装 将之前装系统的.iso文件挂载到光驱 由于我在/home/jinnan/下建立了一个cdrom文件夹 Shell>#mount /dev/cdrom /home/jinnan/cdrom Shell># 阅读全文
posted @ 2018-07-26 14:44 Rumble_lu 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 第一步:将public目录下的index.php移到和public同级目录下,【或者直接在public同级目录下新建一个index.php】 第二步:那么这个新的index.php文件的内容如下: 第三步:在bcloud_nginx_user.conf文件中配置重写规则,文件内容如下 最后一步:输入 阅读全文
posted @ 2018-07-26 14:41 Rumble_lu 阅读(368) 评论(0) 推荐(0) 编辑