The unlink() function is dedicated for file system handling. It simply deletes the file given as entry. Post navigation How do I check if a given variable is empty? What does the unset() function mean?