How to make a download page in own site, which i can know that how many file has been loaded by particular user or particular ipaddress

Questions by mrbaliram   answers by mrbaliram

Showing Answers 1 - 3 of 3 Answers

gurpreet

  • Aug 31st, 2006
 

we can use hyperlink having URL where file are kept. and we only allow regisetered user to download. from session of user we can get the user detail

  Was this answer useful?  Yes

Kiran

  • Sep 15th, 2006
 

We can log the IP addresses in one database table while downloading the file. This way we can count and check the no. of rows inserted for a particular download.

  Was this answer useful?  Yes

Rahul Thipse

  • Oct 31st, 2006
 

Here is code // Give actually File_name1 path from remote server header("Content-Disposition: attachment; filename=".$file_name1); header("Content-type: application/octet-stream"); readfile($file_path1);FromRahul Thipse

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions