Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
validate for upload,show be a bug,i put value to $_POST.
  • array
      'title' => string '222' (length=3)
      'submit' => string '???' (length=6)
      'jpg' => string '60' (length=2)
      'png' => string '61' (length=2)
    

    it is $_POST values.
    jpg and png are two file field. but validate also not pass?
    is it a bug?
  • File fields are not part of $_POST, they are in $_FILES. And validation doesn't run on $_FILES, you need to Upload class for that.

Howdy, Stranger!

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

In this Discussion