When I started searching for "How to delete a file in PHP" The solution I got almost everywhere is "unlink()"
But in w3schools I met with another function named delete(). Here is that link delete() function w3schools
And I started surfing about delete() but didn't get much answers..
This is the question similar to my question at stackoverflow.. DIfferent between unlink() and delete() on unix
I really would like to know the difference and similarities between these two functions.. Why we are using unlink() instead of delete().
unlink()
orunset()
in the wrong place." – Stoeber