07 2017 档案
javascript取querystring,存储为hash
摘要:function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; 阅读全文
posted @ 2017-07-29 19:49 袁晓平 阅读(429) 评论(0) 推荐(0)
laravel blade模板里调用路由方法重定向
摘要:@if (Session::get('user') == NULL) {!!Redirect::to('login')!!} @endif or @if (Session::get('user') == NULL) <script> window.location = 'login'; </scri 阅读全文
posted @ 2017-07-26 11:22 袁晓平 阅读(519) 评论(0) 推荐(0)
Windows平台下PHP7添加Sqlserver扩展
摘要:1、7.0.x 1、7.0.x 7.0.x的扩展下载地址: Microsoft Drivers for PHP for SQL Server https://www.microsoft.com/en-us/download/details.aspx?id=20098 ODBC Driver: Mic 阅读全文
posted @ 2017-07-24 15:22 袁晓平 阅读(470) 评论(0) 推荐(0)