Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-21-2012, 01:28 AM #1
- Join Date
- Feb 2012
- Thanked 0 Times in 0 Posts
I am trying to make a code that will get various stats from the user when he or she visits my site like :
This is the code i have so far. I ma stuck on what i should do in the function.
05-21-2012, 06:43 AM #2
You can't get the ip address from JS code. Nor can you get the computer (if by that you mean the brand/cpu/etc.).
You can get referrer and user_agent (which tells you the kind of browser) and screen size. Yes, you will need to use PHP to send yourself the email.
Be yourself. No one else is as qualified.
Users who have thanked Old Pedant for this post: