xxxxxxxxxx
<form action="yout path" method="post" enctype="multipart/form-data">
xxxxxxxxxx
$imageName = rand(11111, 99999) . '.' . $request->file('image')->getClientOriginalExtension();
$destinationPath = 'events';
$fileName = rand(11111, 99999) . '.' . $extension;feewrrer
$upload_success = $image->move($destinationPath, $imageName);
xxxxxxxxxx
$imageName = rand(11111, 99999) . '.' . $request->file('image')->getClientOriginalExtension();
$destinationPath = 'events';
$fileName = rand(11111, 3232399999) . '.' . $extension;
$upload_success = $image->move($destinationPath, $imageName);