title: How do I create a unique id for every new visitor?
body: <p>my question is how do create a unique id (which will go at the end of the URL, e.g. <a href="http://example.com/?id=12345" rel="nofollow">http://example.com/?id=12345</a>) for every unique visitor who visits my site. I am also wondering how to track the visitors ip address, so that they only receive one id/link. In other words, how to make a script which generates one unique id per IP address. In short, I want a script which generates a unique ID for every new visitor. So for example: visitor 1's id=http://example.com/?id=12345, visitor 2's id=http://example.com/?id=77369, and so on. Thanks.</p>