yasodha Posted December 2, 2007 Share Posted December 2, 2007 In my php program, when user clicks the download link, image (jpg) file will be downloaded. But i need to added a record to the database after download has completed. ie., I have to less the credit points of the particular user after downloading the image. How do i know by the php program whether download is completed. How can i check this? kindly reply for this. Thankyou, yasodha. Link to comment https://forums.phpfreaks.com/topic/79843-how-to-find-the-file-is-downloaded-in-php-program/ Share on other sites More sharing options...
revraz Posted December 2, 2007 Share Posted December 2, 2007 You setup a database, link the download to point to the database, enter the transaction, then let them download the file. Quite a few posts floating around that give examples on how to do it. Link to comment https://forums.phpfreaks.com/topic/79843-how-to-find-the-file-is-downloaded-in-php-program/#findComment-404315 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.