Possible Duplicate:
deleting a file after user download it
I’m doing my a mini project in college written in PHP. I want to delete a csv file after a user has downloaded it. How can i get this done?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You must create php script that will be used to download the file. In this script you will send the headers and then read end print the file content. After this you can deleate it in the script
That’s all.