In this code to upload multiple images to a different folder each time, it creates a new folder and moves files to it, but the validation part is not working ! if i remove the validation part the files are uploaded correctly!!
I have mentioned using comments that in which area the problem i think is coming!
If someone can then please help!
the error is:
Warning: strtolower() expects parameter 1 to be string, array given in C:\xampp\htdocs\upload-file.php on line 66
Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\upload-file.php on line 66
here's the code: