ssuhat's avatar

Move uploaded file manually

I'm using sub domain to handle my images, and other stuffs.

is it safe every time user upload a image and at my backend i always move it manually?

file = $request->file; $filename = $file->getClientOriginalName(); $file->move('/home/subdomain/public/tmp/', $filename);

Will it be a problem in the future if there is a lot of request?

0 likes
0 replies

Please or to participate in this conversation.