MPeter Posted October 31, 2010 Share Posted October 31, 2010 Hello, PHP Freaks, and -- Dear TLG! Under "Attach" you are going to find two files. 1) note.php 2) note.xml (*.xml is not uploadable) <note> <userstatcontent>?some=text</userstatcontent> </note> Just copy them into the same folder. Have a look at them. Their task is to log user activity any "x" seconds (till a runout). One of the next steps is to add window.innerWidth and window.innerHeight, and the use of Javascript-Cookie to save at least some of the data locally. This logging got me this early morning (here), and am really keen on to push it a little and come to some state where I can add it to my own site. ps: The final idea was done by TLG, and again a Big Thank You here - for inspiring me so much! Regards, MPeter [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/217356-can-you-pimp-this-code-xmlhttprequest-user-log-activity-more/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.