Topic awaiting preservation: Script for tracking image accesses |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Right-dead center |
posted 10-18-2004 19:49
Have any of you ever run across a script you can run that will look through your referrer logs to track where an image has been accessed? |
Paranoid (IV) Inmate From: France |
posted 10-18-2004 20:02 |
Paranoid (IV) Mad Scientist From: Right-dead center |
posted 10-18-2004 20:04
See, but I have no idea how to do any of that stuff. haha My knowledge of scripting is limited at best. |
Paranoid (IV) Inmate From: France |
posted 10-18-2004 21:06
The easiest/ugliest but yet efficient way should look like : code: <FilesMatch "^bushvskerry.jpg$"> the bushvskerry.jpg file : code: <? |
Paranoid (IV) Mad Scientist From: Right-dead center |
posted 10-18-2004 21:15
Ah, OK, I see what the does. Forces requests for that .jpg file to access a .php file instead. Nifty. |
Paranoid (IV) Inmate From: France |
posted 10-18-2004 21:23 |
Maniac (V) Mad Scientist From: New California |
posted 10-19-2004 04:13
I don't have anything technical to add here but I just have to say how COOL that pic is! Good job, krets! |
Maniac (V) Inmate From: Melbourne, Australia |
posted 10-19-2004 04:27
Poi is right about parsing the log files. It shouldn't be too hard, it just depends what format they're in. You could probably write a php script to parse the file and output the results over the web. |