FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » tracking file usage
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: tracking file usage [message #184380 is a reply to message #184378] Mon, 30 December 2013 02:33 Go to previous messageGo to previous message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma:
Senior Member
richard <noreply(at)example(dot)com> wrote in news:17slpz3qunv5p.1owoaoax5minf$.dlg@
40tude.net:

> I know how to do the standard hit counter with php.
>
> In my music pages, javascript controls the calling and playing of the
> music.

And what controls actually retrieving the music from your server?

> So I was wondering if PHP had any means of knowing when a particular file
> was being called for.

Obviously it has. It isn't the javascript in the client that's retrieving a music file from your
server.

> Or could "onclick" trigger a php function?

Yes, of course, if you write the appropriate Javascript onclick() handler.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OT: Where IS everybody?
Next Topic: ORMs comparisons/complaints.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 09:13:45 GMT 2024

Total time taken to generate the page: 0.03854 seconds