if you want to delete or remove a file with your php scripts, you can do that in the code with one simple function:

$file = 'delete.txt';
unlink($file);


the above code would delete a file called delete.txt

hope this helps