php connection question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vincentsmh
Forum Newbie
Posts: 1
Joined: Sun Mar 14, 2010 1:49 am

php connection question

Post 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
DaiLaughing
Forum Commoner
Posts: 76
Joined: Thu Jul 16, 2009 8:03 am

Re: php connection question

Post 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.
Post Reply