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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.