jmurphy45
05-21-2012, 01:28 AM
I am trying to make a code that will get various stats from the user when he or she visits my site like :
browser
computer
screen size
ip address
referrer
etc.
This is the code i have so far. I ma stuck on what i should do in the function.
<html>
<head>
</head>
<body>
<script type="test/javascript">
function stats (){
var data =
}
</script>
</body>
</html>
One more question will I need to use php to send it to my email of could javascript do this.
browser
computer
screen size
ip address
referrer
etc.
This is the code i have so far. I ma stuck on what i should do in the function.
<html>
<head>
</head>
<body>
<script type="test/javascript">
function stats (){
var data =
}
</script>
</body>
</html>
One more question will I need to use php to send it to my email of could javascript do this.