If you use the HTML Form Facade in L5 you have to escape it with
{!! Form::token() !!}
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i am facing a problem. Can any one help me.
i design two forms in Entertainment portal App.. both have file input types .. 1 for image uploadng 2 for Videos uploading image uploading works properly . But when i upload video from 2nd video uploading form. it creates error
TokenMismatchException in VerifyCsrfToken.php line 46:
both forms have the same token .
i tried to work manually like using HTML form and adding token this
<input type="hidden" name="_token" value="{{ csrf_token() }}">
and also used
{{ Fom::token() }}
but error remains same . and token remains same Any Solution ................
Please or to participate in this conversation.