amir
02-10-2006, 02:13 PM
Hi all
i have two sections in my project
1; admin
2; site users
i m providing the facility for users to come to my site and download files.
all the users have credit accounts. when a user downloads a file, his account will be minus by one credit and the account of admin will be plus by one credit.
its all working fine for me.
the problem is
how i come to know that a user has just opened the file or he has download it.
bcoz in my case, whether a user opens, downloads the file or even cancels , the account gets plus by one.
i have two sections in my project
1; admin
2; site users
i m providing the facility for users to come to my site and download files.
all the users have credit accounts. when a user downloads a file, his account will be minus by one credit and the account of admin will be plus by one credit.
its all working fine for me.
the problem is
how i come to know that a user has just opened the file or he has download it.
bcoz in my case, whether a user opens, downloads the file or even cancels , the account gets plus by one.