willaguila Posted September 2, 2008 Share Posted September 2, 2008 I could use a little help in trying to figure out how to output a counter on my site that corresponds to the requests made for a file with a specific extension: For example: the file resides only on the server and it has an extension of *.abc The counter should increment the count by 1 every time a file with the above extension is requested. If anyone could help it would be helpful so thank you in advance! Link to comment https://forums.phpfreaks.com/topic/122419-http-request-help/ Share on other sites More sharing options...
zq29 Posted September 3, 2008 Share Posted September 3, 2008 I'd imagine you'd either need a script that requests files and then writes them to the browser, where you could log a count at the same time, or write some form of access log parser. Link to comment https://forums.phpfreaks.com/topic/122419-http-request-help/#findComment-632605 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.