Re: Delete a file immediately after download

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matt,

Thanks for the reply, I know how to delete a file I just wanted to know if 
its possible to ensure that its deleted automatically as soon as the user 
has downloaded it.

Thanks...

"Matt M." <h.dudeness@xxxxxxxxx> wrote in message 
news:7d45802005021506594f40d0cd@xxxxxxxxxxxxxxxxx
>> I have a database that contains encrypted data using Mysql function
>> ENCODE(). Certain users will be allowed to view this data and I will 
>> allow
>> them to download a CSV file contain the decrypted data using the Mysql
>> DECODE() function. However I don't want this file to be left on the 
>> server,
>> is there a way to ensure that the file is deleted immediately after it 
>> has
>> been downloaded?
>
> http://us4.php.net/unlink 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux