unlink

(PHP3 , PHP4 )

unlink -- Deletes a file

Description

int unlink (string filename)

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

Returns 0 or FALSE on an error.

See also rmdir() for removing directories.

Note: This function may not work on Windows systems.