Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

file delete in laravel

use File;

if (File::exists(public_path('uploads/csv/img.png'))) {
     File::delete(public_path('uploads/csv/img.png'));
 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #delete #laravel
ADD COMMENT
Topic
Name
6+3 =