PHP Delete Function
There is actually no delete function in PHP. However, there is a PHP function that does the function of a delete if there was one.
Welcome unlink, the PHP delete function.
PHP Unlink function usage
unlink('/uploads/my_photo.gif');
The funny part is that the PHP site has a page for the PHP delete function where it states the following:
This is a dummy manual entry to satisfy those people who are looking for unlink() or unset() in the wrong place.
So, if you are looking for the PHP delete function, head to the unlink function page.
Categories: Web Development
Tags: php
1 Comments


Blitz
:D They have a dummy function page? haha
November 28th 2009