Im trying to obtain the IP address of the user, current domain, and full page URL when my javascript is run ( for traffic analysis )
var ip = '<!--#echo var="REMOTE_ADDR"-->';
var domain = document.domain;
var page = window.location;
I keep getting errors in FF3
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMLocation.host]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js :: anonymous :: line 12" data: no]
Any ideas?