<frameset rows="88,*" >
<frame src="top.html" title="topFrame" />
<frameset cols="187,*" frameborder="no" border="0" framespacing="0">
<frame src="left.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="top.html" title="topFrame" />
<frameset cols="187,*" frameborder="no" border="0" framespacing="0">
<frame src="left.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
2016-10-31
老師給input添加name值時,name="Student[***]",為什么要這樣寫,有什么講究嗎
2016-10-29
不知道3以下的版本是怎樣,不過我用的5.3可以這樣寫{{ Request::is('student/create') ? 'active' : '' }}非常方便
2016-10-29
laravel 默認開啟了 csrf驗證 ,post請求需要驗證csrf,所以要在表單里 加個隱藏域
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
不然就會報錯:TokenMismatchException in VerifyCsrfToken.php line 68:
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
不然就會報錯:TokenMismatchException in VerifyCsrfToken.php line 68:
2016-10-29
我把response放到session所在路由群組,重定向傳值成功:
Route::group(['middleware' => ['web']],function () {
Route::any('session1','StudentController@session1');
Route::any('session2','StudentController@session2');
Route::any('response','StudentController@response');
});
但是視頻中的并沒有這么做session2也可以接收到message啊。。。
Route::group(['middleware' => ['web']],function () {
Route::any('session1','StudentController@session1');
Route::any('session2','StudentController@session2');
Route::any('response','StudentController@response');
});
但是視頻中的并沒有這么做session2也可以接收到message啊。。。
2016-10-25
若出現以下問題Fatal error: Call to undefined function Illuminate\Encryption\openssl_encrypt()
請在php.ini中相應位置添加extension=php_mcrypt.dll
請在php.ini中相應位置添加extension=php_mcrypt.dll
2016-10-20