php - Laravel: HTTPS in Form::open() -
I change SSL to my website (I change my website to SSL version and it is http
For example:
& lt;? = Form :: open (array ('id' = & gt; 'submit'))? & Gt; ... & LT ;; = Form :: Pass ()>
and the result will be:
me verb < / Code> needs the
HTTPS
link.
If you want to use https
, then you need to manually provide the path that will be set to take action.
& lt;? = Form :: open (array ('url' = & Gt; URL :: to ('/', array (), true), 'id' = & gt; 'submit'))? & Gt; To submit to /
url (which will be equivalent to example.com
) and pass the 3 parameters as true
to protect it
Comments
Post a Comment