unlink

(PHP 3, PHP 4 >= 4.0.0)

unlink -- Deletes a file

Description

int unlink ( string filename)

Deletes filename. Similar to the Unix C unlink() function.

Returns TRUE on success, FALSE on failure.

See also rmdir() for removing directories.