PHP如何实现登陆后跳回登陆以前的页面

以laravel框架为例,直接上代码:html html: <form action="/comment/destination" method="post"> {{csrf_field()}} <input type="hidden" name="url" value="http://{{$_SERVER['HTTP_HOST']}}{{$_SERVER['REQUEST_URI']}}">
相关文章
相关标签/搜索