Answers for "Laravel store multiple files"

PHP
0

none

public function fileUpload(Request $request)
    {
        if ($request->hasfile('filenames')) {
            foreach ($request->file('filenames') as $file) {
                $name = $file->getClientOriginalName();
                $file->move(public_path() . '/mytestfile/', $name);
                $data
Posted by: Guest on January-01-1970

Code answers related to "Laravel store multiple files"

Browse Popular Code Answers by Language