New to JavaScript need help with Stats

Im working on a new product (not launched yet)

The project grabs stats from remote pages. Basically a javascript stat application, that is supposed to get ip, current page, and page referral.

Does anyone here know a script or how to get that info?
I can do all that with php, but im a very poor programmer indeed when it comes to javascript.

Much thanks in advance.

Have a look at these pages: - for the current page URI - the page the user came from

As for the IP address, javascript can’t access that by itself. You can do an ajax request to a PHP page that spits it out or, better still, just make your JavaScript generated by PHP so it can output this as a variable.

Thanks man having a look now :slight_smile: