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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.