How to delete image file from folder directory in php

Hi I want to delete image/file from folder/directory, how I can delete in php
Ankur Rajput
Asked 10-05-2020
68

Answer (1)
You can use this $name = 'water_wallpaper.jpg'; $res=unlink("upload/".$name));
Harsh Aggrawal
Asked 06-07-2018
45 Likes
Comments
Write comment

Submit your answer