Welcome Guest, Not a member yet? Register   Sign In
File Upload Validation Broke
#5

(This post was last modified: 04-23-2020, 03:18 PM by Gary.)

Thanks for that Leo.

It consistently fails on whatever the first test is... regardless of how one sets up the validation (I've even tried the calling with the parameters directly (without setting the rules) as in the example: $this->validate(['avatar'=>'uploaded[avatar]|max_size[avatar,1024]']) with no success).

I see you're doing multiple files... which I've also resorted to using (with getFiles()), even for a single file (which I then "separate" out of the upload using foreach($files_upload as $file)...) which works. I've still not been able to get getFile() working for some reason.
Reply


Messages In This Thread
File Upload Validation Broke - by Gary - 04-12-2020, 11:51 AM
RE: File Upload Validation Broke - by Gary - 04-14-2020, 07:00 PM
RE: File Upload Validation Broke - by Gary - 04-23-2020, 02:06 PM
RE: File Upload Validation Broke - by Leo - 04-23-2020, 02:49 PM
RE: File Upload Validation Broke - by Gary - 04-23-2020, 03:18 PM
RE: File Upload Validation Broke - by Leo - 04-23-2020, 03:55 PM
RE: File Upload Validation Broke - by Gary - 04-24-2020, 08:47 AM
RE: File Upload Validation Broke - by Leo - 04-24-2020, 02:31 PM
RE: File Upload Validation Broke - by Gary - 04-24-2020, 03:03 PM
RE: File Upload Validation Broke - by Leo - 04-24-2020, 03:09 PM
RE: File Upload Validation Broke - by Gary - 04-24-2020, 03:40 PM
RE: File Upload Validation Broke - by Leo - 04-24-2020, 03:46 PM
RE: File Upload Validation Broke - by Gary - 04-24-2020, 03:58 PM
RE: File Upload Validation Broke - by Leo - 04-25-2020, 01:13 AM
RE: File Upload Validation Broke - by Leo - 04-25-2020, 02:56 AM
RE: File Upload Validation Broke - by Gary - 04-28-2020, 09:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB