30.10.2014, 23:22
Yes, it is, if you even tried to use ******. I'll even re-post what the wiki says in-case you're also too lazy to click a link!
Description:
Delete a file.
Parameters:
(name[])
name[] The path of the file to delete. (NOTE: NOT a file handle)
Return Values:
1: The function executed successfully.
0: The function failed to execute. The file doesn't exist, or you don't have permission to delete it.
Important
Note
The file path must be valid.
Note
Files that are currently open (fopen) must be closed first (fclose) to be deleted.
Example Usage:
fremove("Example.txt");
Description:
Delete a file.
Parameters:
(name[])
name[] The path of the file to delete. (NOTE: NOT a file handle)
Return Values:
1: The function executed successfully.
0: The function failed to execute. The file doesn't exist, or you don't have permission to delete it.
Important
Note
The file path must be valid.
Note
Files that are currently open (fopen) must be closed first (fclose) to be deleted.
Example Usage:
fremove("Example.txt");