Level 80
@cameronasmith The method doesn’t rename the file, it’ll just be named the same as the file the user uploaded.
Hi,
I'm moving the uploaded file with $file->move, but I would like to get the new filename returned, and although the method does return a file object it doesn't seem to be a way to get the new file name.
Does anybody have any suggestions?
Thanks,
Cameron
Should be making unique filenames when moving. I add an str_random(12) on the end.
Please or to participate in this conversation.