29.07.2016 Views

laravel-5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

HTTP Routing 63<br />

Laravel automatically generates a CSRF “token” for each active user session managed by the<br />

application. This token is used to verify that the authenticated user is the one actually making the<br />

requests to the application. To generate a hidden input field _token containing the CSRF token, you<br />

may use the csrf_field helper function:<br />

.<br />

1 <br />

The csrf_field helper function generates the following HTML:<br />

.<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!