deansp2001 Posted October 24, 2008 Share Posted October 24, 2008 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 More sharing options...
Garethp Posted October 24, 2008 Share Posted October 24, 2008 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... Link to comment https://forums.phpfreaks.com/topic/129945-is-this-possible-with-php/#findComment-673637 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.