regent Posted April 8, 2008 Share Posted April 8, 2008 Is there any way to track the date/time when a file was downloaded from your server? I have made a file management interface for a client, with Download buttons next to each file that was uploaded. The client wants to track when each file is downloaded. Is this possible? Thanks. Link to comment https://forums.phpfreaks.com/topic/100082-track-downloads/ Share on other sites More sharing options...
ohdang888 Posted April 8, 2008 Share Posted April 8, 2008 have a db with a table in it.... id, datetime on the down page.... insert a row into the db Link to comment https://forums.phpfreaks.com/topic/100082-track-downloads/#findComment-511740 Share on other sites More sharing options...
cooldude832 Posted April 8, 2008 Share Posted April 8, 2008 the trick is to limit direct access to the file, instead you need to use php/mysql/headers to have them download files indirectly (good practice to prevent external execution of stuff also) look around for file storage in mysql via binaries and it will be very clear. Link to comment https://forums.phpfreaks.com/topic/100082-track-downloads/#findComment-511741 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.