Easy Tutorial
❮ Php Ajax Poll Php File ❯

PHP unlink() Function



Definition and Usage

The unlink() function deletes a file.

If successful, the function returns TRUE. If it fails, it returns FALSE.

Syntax

Parameter Description
filename Required. Specifies the file to delete.
context Optional. Specifies the environment of the file handle. Context is a set of options that can modify the behavior of the stream.

Examples


❮ Php Ajax Poll Php File ❯