Quote:
|
Originally Posted by naitirps
lots of ways you can get shit like that to work... usually better to stuff in php first then pass to javascript works fine for me all the time... what exactly are you trying to do?
|
basically I'm trying to monitor everything my surfers do on my web site. (Where they clic, which cat. they prefer etc ... ) Since I don't want to generate a lot of traffic to my database I want to use the surfers computer as much as possible. So the idea is to do as much gathering as possible in Javascript and when the surfer close it's browser (or quit my page) send the information to a php script on my server which will insert the info into my database.