上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: ----------------------------------- laraverl笔记 asset('/bs-3.3.5/js/ie-emulation-modes-warning.js'); //会定位到public目录 storage/framework/views //静态页面路径 $results = DB::select('select * from us... 阅读全文
posted @ 2017-03-30 09:34 伊人世界 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 在使用 <?PHP phpinfo(); ?> 后去检查 session默认保存的目录是不存在 原因2 session 机制 session是服务器端的一种会话机制,当客户端的请求服务器创建一个session时,服务器会先检测该请求里面是否包含一个惟一的sessionID,如果是,说明服务器已经为该 阅读全文
posted @ 2017-03-28 16:07 伊人世界 阅读(8496) 评论(1) 推荐(0) 编辑
摘要: 打开扩展 extension=php_pdo.dll$pdo = new PDO("mysql:host=localhost;dbname=db_demo","root",""); $rs = $pdo -> query("select * from test"); while($row = $rs -> fetch()){ print_r($row); $pdo = new PDO("... 阅读全文
posted @ 2017-03-28 13:38 伊人世界 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 安装crontab: yum install crontabs 这里我就简要的介绍下其中两种使用: 1. 当我们需要定时去调用某个本机的或者是远程的web程序时,可以这样设置crontab 0 5 * * * /usr/bin/curl http://www.xmsdn.net/it-net/lin 阅读全文
posted @ 2017-03-09 23:20 伊人世界 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 源自 https://my.oschina.net/chinacion/blog/745262 阅读全文
posted @ 2017-03-08 00:54 伊人世界 阅读(304) 评论(0) 推荐(0) 编辑
摘要: $ch = curl_init(); // 2. 设置选项,包括URL curl_setopt($ch, CURLOPT_URL, "http://www.cnblogs.com/jianqingwang/"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0) 阅读全文
posted @ 2017-02-28 10:07 伊人世界 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 首先安装好node,npm,gulp 检查 node -v npm -v npm i gulp -g --registry=http://registry.npm.taobao.org //安装gulp插件 npm install gulp-plumber --save //安装gulp-plumber插件npm install --save-dev gulp-co... 阅读全文
posted @ 2016-12-05 16:42 伊人世界 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 1、安装jdk 1.1 运行jdk-7u25-windows-i586.exe 1.2 设置环境变量,新建JAVA_HOME 1.3 编辑PATH,增加jdk的bin路径 说明:配置环境变量后另开窗口生效,如果不生效请重启计算机; 资源下载来源于http://www.liangchan.net2、安 阅读全文
posted @ 2016-12-02 17:14 伊人世界 阅读(771) 评论(0) 推荐(0) 编辑
摘要: 1.截取字符串 function get_utf8_word($string, $length = 80, $more = 1, $etc = '..') { $strcut = ''; $strLength = 0; // /usd $width = 0; if (strlen($string) > $length) { //将$length换... 阅读全文
posted @ 2016-11-11 11:21 伊人世界 阅读(189) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/jsn521/p/3399997.html 如果extension_dir 里面配置了插件库的路径 zend_extension = "php_xdebug-2.4.1-5.6-vc11-x86_64.dll" 就可以不用写全路径了 https://xdebug.org/wizard.php 将 phpinfo里面的信息复制到这个网址就... 阅读全文
posted @ 2016-11-08 12:32 伊人世界 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
Fork me on GitHub