deleteFile() (tick_24Pro, cross_24Std, cross_24Lite)

bool deleteFile(string $filename);

This function may pose a security risk and a risk for accidental damage such as data loss; use it carefully. Also, enable potentially destructive functions in the Config Files Options Page for it to work.

Deletes the file specified by $filename.

Returns 1 (true) if $filename is deleted, else 0 (false).

This function is only supported in the professional and enterprise editions. Other editions will always return 0 (false).

This function is supported by CSE HTML Validator v12.0034 and later.