I was reading the Laravel's docs and I've stumbled upon this isValid() method, that returns TRUE or FALSE whether the file is valid or not.
But... What this method actually does? I know it returns TRUE or FALSE, but what is behind this check? Over what is checking if is valid or not? I've googled for a while but can't really find something useful...
Can you guys explain me this?
Thanks!
It means if there is no errors ocurred during the file upload process either by OS/WebServer/php i.e. it has moved to the temporary location successfully
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With