How can i delete a file from a directory? Thanks.
The function to use is unlink() - look it up in the manual to see how it is used