![]() |
|
|
|
|
1
20th November 23:56
External User
Posts: 1
|
Hi everybody,
I'm not shure if this is the right place, so directions to another newsgroup are welcome. I run a website that offers audioclips for download (http://port5.de if you're interested) and would like to create a 'charts' database. Obviously, it is important to capture whether a download has been completed ´(as opposed to canceled), because this means the user liked the clip well enough to listen to the end. I found a way to make a db entry when the download starts via PHP, but PHP cannot handle events (like document loaded). Javascript could do this, but this cannot access a database. I could write a java class for the db access and trigger that via javascript, but this would require the jdbc driver on the client side, and I cannot assume my users have one and I don't want to confuse them with download messages for .jar-files. So what would the enlighted round of experts suggest as the appropriate tool for this task (that I considered trivial two days ago) ? Thanks Tommi P.S.: I usually write C++ for embedded systems so maybe this question *is* silly for you ;o) |
|
|
|
|
2
20th November 23:56
External User
Posts: 1
|
Hi everybody,
I'm not shure if this is the right place, so directions to another newsgroup are welcome. I run a website that offers audioclips for download (http://port5.de if you're interested) and would like to create a 'charts' database. Obviously, it is important to capture whether a download has been completed ´(as opposed to canceled), because this means the user liked the clip well enough to listen to the end. I found a way to make a db entry when the download starts via PHP, but PHP cannot handle events (like document loaded). Javascript could do this, but this cannot access a database. I could write a java class for the db access and trigger that via javascript, but this would require the jdbc driver on the client side, and I cannot assume my users have one and I don't want to confuse them with download messages for .jar-files. So what would the enlighted round of experts suggest as the appropriate tool for this task (that I considered trivial two days ago) ? Thanks Tommi P.S.: I usually write C++ for embedded systems so maybe this question *is* silly for you ;o) |
|
|
|