php
学习Laravel
https://laravel.com/ 视频教程: http://www.imooc.com/video/12489 contronler view model 路由的概念
var_dump($arrdate);
调试输出
转移ali ranking小站的几点主页地方
1.修改php.ini文件,file_***get()函数 (打开php.ini文件,extension=php_openssl.dll去掉前面的分号, ; user_agent="PHP" 前面的分号去掉) 2.right join 改成 left join
PHP中file_get_contents函数抓取https地址出错的解决方法
打开php.ini文件找到 ;extension=php_openssl.dll ,去掉双引号”;” ,重启web服务器即可。
函数实现按给定的(开始字符串)和给定的(结束字符串) 截取中间的字符串
<?php //函数实现按给定的开始字符串和给定的结束字符串 截取中间的字符串 function strCutByStr(&$str, $findStart, $findEnd = false, $encoding = 'utf-8'){ if(is_array($findStart)){ if(count($...