HamidReza - 2008-12-25 16:01:27
In my php program, when user clicks the download link, image(jpg) file will be downloaded.
But i need to add a record to the database after download has completed.
ie., I need to less Credit Points of that particular user after download has completed.
How do i know by the php program whether download is completed.
How can i check this?
i have given update query in download.php.
When i click download link, a dialog box appears, whether to Open, Save or Cancel.
When i click 'Cancel' the database should not be updated.
kindly reply for this.
Thankyou, Hamid