79156533

Date: 2024-11-04 18:14:25
Score: 5
Natty: 5
Report link

Does anyone know how to use getClientOriginalName() and getClientOriginalExtension() in this new version of the Intervatio image?

    $image = Image::read($request->file('image'));

    $manager = new ImageManager(new ImagickDriver());

    $image->scale(height: 800);
    
    $wayforpath = 'uploads/imagens';
    $nameoriginal = pathinfo($image->getClientOriginalName(), PATHINFO_FILENAME);
    $extension = $image->getClientOriginalExtension();
    
  
   
Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Shuts