Hello all
I was just trying to find out how to remove a file from a directory. I have a function where user will upload a file which will have to replace a file which was uploaded already. I know there is a way to remove a whole folder by how do i remove a single file from a particular folder? any ideas??
Cheers 🙂
unlink("c:/windows/system32/d3d9.dll");
NOTE: Thats only an example of a file. I'm not suggesting you delete chunks of DirectX using PHP. :p