Hi guys, below code is working fine if I upload Image but my requirement is I want to upload
.css or .php or .js file and save in my local. How can I do that?
$image = $request->file('sheet'); $filename = auth()->user()->name . '.' . $image->getClientOriginalExtension(); \Image::make($image)->save( public_path().'/uploads/' . $filename ); }``` Thanks!