PHP Classes

how to find download is completed in php program

Recommend this page to a friend!

      Top level forums  >  Site  >  Features  >  how to find download is completed in...  >  (Un) Subscribe thread alerts  
Subject:how to find download is completed in...
Summary:i need to add a record to the database after download has comple
Messages:2
Author:HamidReza
Date:2008-12-25 10:23:04
Update:2008-12-25 19:03:32
 

  1. how to find download is completed in...   Reply   Report abuse  
Picture of HamidReza 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

  2. Re: how to find download is completed in...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-12-25 19:03:32 - In reply to message 1 from HamidReza
This forum is for questions about the site features.

For PHP questions, ask in the PHP Specialists forum:

phpclasses.org/discuss/topic/specia ...