参考地址:js 刷新页面 location = location location = location.href location = window.location location = self.location location = window.location.href locat...
情景:1.已有utf8编码的sql文件2.需要将此文件导入windows下的数据库服务中,正确姿势:1.新建一个utf8编码的数据库,假如为a2.mysql bin目录下 mysql -uroot -p3.use a;4.set names utf8;5.source d:\path\to\example.sql
获取当前登录用户的id:Auth::user()->id判断是否登录 Auth::check() 判断登录信息是否相符:Auth::attempt(array('name' => $name, 'password' => $password), $remember) laravel 密码加密方式:Hash::make('...