How to track file download?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alexus
Forum Contributor
Posts: 159
Joined: Fri Jul 04, 2003 10:49 pm

How to track file download?

Post by alexus »

Hi,
I was wondering how to make file download traking script...
Common cenario, user cliks on lin reccord added to DB and user is given the file.

Peticulary I dont know how to send the file to the user when he she eners the page? Any ideas?

Thanks!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

add a script inbetween the user and the file, this script can send the user the file like a normal download request and do whatver added processing you like.

Search around for "force download"
Post Reply