FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » how to save the visitors ip addresses
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to save the visitors ip addresses [message #180903 is a reply to message #180883] Mon, 25 March 2013 23:39 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Mon, 25 Mar 2013 01:44:33 -0700 (PDT), nag wrote:

> Hi,
>
> I have a hit counter and visitors who are online in my webpage. I want to save the visitors IP addresses permanently (I will remove it manually). How can I code this? I am using a download file called visitors.php. I tried increasing the sessionTime.
>

The problem I see with capturing IP addresses is the fact that any number
of users can use the same IP, at the same time.
The IP only identifies the server, it does not identify each and every
individual user.
Years ago I happened to run across a person in usenet who had the exact
same IP as mine and he had posted within a couple of minutes of a post of
mine. So naturally, I get accused of nymshifting.

What you should look into using, is a cookie.
With a cookie, you can identify the user more accurately.
Or at least some other means of identifying the actual machine being used.

I know some will insist that what I say is not possible.
Then how is it that a webhost can have a multitude of domains on one IP?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Is PHP good for outsourcing?
Next Topic: PHP: convert a page to pdf
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 13:31:36 GMT 2024

Total time taken to generate the page: 0.07877 seconds