Page 1 of 1

php connection question

Posted: Sun Mar 14, 2010 1:54 am
by vincentsmh
Hi ~

I have a problem described as follow:

Sometimes, I use php code to redirect the link to an file for downloading.
Can I write a php program to automatically delete the file when the download is finished.

Sincerely,


Vincent

Re: php connection question

Posted: Sun Mar 14, 2010 8:45 am
by DaiLaughing
I don't know how you would automate this but certainly you can delete the file using PHP. Searching for PHP file delete gives two good sites at the top.