Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How to use validators for GET-Requests
  • I'd like to know how I can use the validation class to validate GET-Requests. When I use $val->run() it just validates POST-Requests.
  • b1172822@klzlk.com b1172822@klzlk.com wrote on Saturday 28th of May 2011:
    I'd like to know how I can use the validation class to validate GET-Requests. When I use $val->run() it just validates POST-Requests.

    This should work:
    $val->run(\Input::get(null))
    

Howdy, Stranger!

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

In this Discussion