Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Input method is wrong
  • I have following form in view file:
    <form class="form-stacked" action="users/login" method="POST">

    but input method is returning GET in users/login controller.
    how to solve this issue?

    I upgraded ubuntu to 14.04 and php to 5.6
  • Are you sure you checked the input method _after_ the form was submitted? You could easily check whether it works as designed by creating two methods get_login() and post_login() while get_login() renders your form and post_login() simply does a \Debug::dump(\Input::post())
    Then you will see if the input methods is what you intended it to be.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion