Jump to content

Can "You" pimp this code? (XMLHttpRequest, User Log Activity & More)


MPeter

Recommended Posts

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]

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.