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:

  
method = "POST" action = "http : //example.com "accept- charset =" UTF-8 "id =" submit ">

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

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -