Jump to content

Is this possible with PHP


deansp2001

Recommended Posts

Hi

 

Im looking to create a system that will generate unique urls for 1 certain flash movie we have. And then these unique urls will be sent out and we need to be able to track who watches the movie and for how long.

 

Can this be done with PHP and if so where should I start looking as far as tutorials/examples of this kind of thing so I can learn more.

 

Many thanks!

Link to comment
https://forums.phpfreaks.com/topic/129945-is-this-possible-with-php/
Share on other sites

You can track who has watched it, and you can track how long they have been watching with JS, but I'm not sure how you'd pass the data from JS to PHP. Maybe have the JS call a PHP script every x amount of seconds? As so far as who watched it, just create a unique ID each time you send it out, and have it update a mysql database each time the page is visited with that ID in the url...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.