dole.doug Posted September 15, 2008 Share Posted September 15, 2008 Hi there I have a small video file hosted on appache web server. My question is about how can I know who(IP) and when somebody access my video file? That video file is not linked to any html or php page. Can I make a script in order to have a raport about that video file access? Can you give me a link for that? Many thanks Quote Link to comment Share on other sites More sharing options...
Maq Posted September 15, 2008 Share Posted September 15, 2008 Yes, check out sessions, and store the info in a database. User $_SERVER['REMOTE_ADDR']; to grab the IP of the user. Quote Link to comment Share on other sites More sharing options...
corbin Posted September 15, 2008 Share Posted September 15, 2008 You could always just read the Apache access log.... Quote Link to comment Share on other sites More sharing options...
Maq Posted September 16, 2008 Share Posted September 16, 2008 Hmm interesting solution corbin, didn't even think of that. dole.doug it's your choice of where to go... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.