Re: getting the IP address off a visitor
| From: | Miguel Cruz | Date: | Mon, 08 Jul 2002 18:45:45 +0000 |
| Subject: | Re: getting the IP address off a visitor | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106150@lists.php.net to get a copy of this message | ||
On Mon, 8 Jul 2002, Justin French wrote:
> 1. in the case of most dial-up users with an ISP, the IP address is usually
> dynamically assigned, so next time they dial-up (or re-connect) they will
> more than likely have a different IP address.
>
> 2. in the many cases of computers with a static IP (cable/ADSL/etc), the IP
> address does not necessarily represent a "user"... think about shared
> computers in families, in libraries, corporations, net cafe's, etc.
>
> 3. Data storage -- eeek! If you get 1000 visitors with upto 15 bytes
> (nnn.nnn.nnn.nnn) each, that's 15k of IP address' you have to search through
> constantly, without any real way to make it quicker (eg indexing). That may
> not sound so bad, but perhaps when you reach 30000 visitors, it's now upto
> 450k. Yuk.
Well, an IP address is only 4 bytes, and they can be sorted and indexed,
but otherwise I completely agree with your points. Using IP addresses to
recognize people is doomed to failure.
miguel