Welcome Guest, Not a member yet? Register   Sign In
Delete file after download
#3

(05-28-2021, 02:35 AM)InsiteFX Wrote: To delete a file you use unlink(path/filename);

Yes, okay! But the main question is whether there is any way to use the download with the response and delete it afterwards? Or if the solution would be the way I posted below not to use response->download.
Reply


Messages In This Thread
Delete file after download - by MatheusCastro - 05-27-2021, 06:59 PM
RE: Delete file after download - by InsiteFX - 05-28-2021, 02:35 AM
RE: Delete file after download - by MatheusCastro - 05-28-2021, 03:12 AM
RE: Delete file after download - by InsiteFX - 05-28-2021, 09:01 PM
RE: Delete file after download - by demyr - 05-29-2021, 12:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB