Sunday, 15 August 2010

php - Form::open() is generating an https URL instead of http. What am I doing wrong? -



php - Form::open() is generating an https URL instead of http. What am I doing wrong? -

laravel's form::open() generating https url post location instead of http. how can forcefulness work?

here form::open() code:

{{ form::open(url::to('someurl/somedest', 'post', array('class' => 'form-horizontal'))); }}

form::open() should generate http url, form::open_secure() https forms. also, don't need url::to() in there. seek this:

{{ form::open('someurl/somedest', 'post', array('class' => 'form-horizontal')) }}

here's documentation page, reference.

php laravel

No comments:

Post a Comment