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 13-11-2019
51

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