problem in deleting files from server once uploaded
Posted: Mon Sep 21, 2009 1:45 pm
Hi All,
I have setup an apache server on XP with simple functionalities like upload, download and delete. I am done with upload and download part. I dont know how to delete files. I know about unlink. But I have failed to implement it in my situation. In my situation, all files are displayed in directory called uploads, the path is as under:
http://localhost:8085/test/Upload/uploaddocs/ (when this is entered in browser you can view all files uploaded).
If I need to delete any selected file, How to go about it? I have spent 3 days working on it. I know about unlink but I have failed to figure it out how to use it in my situation.KIndly help me.
Ejaz
I have setup an apache server on XP with simple functionalities like upload, download and delete. I am done with upload and download part. I dont know how to delete files. I know about unlink. But I have failed to implement it in my situation. In my situation, all files are displayed in directory called uploads, the path is as under:
http://localhost:8085/test/Upload/uploaddocs/ (when this is entered in browser you can view all files uploaded).
If I need to delete any selected file, How to go about it? I have spent 3 days working on it. I know about unlink but I have failed to figure it out how to use it in my situation.KIndly help me.
Ejaz