Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8819 > unrolled thread
| Started by | nag <visitnag@gmail.com> |
|---|---|
| First post | 2013-03-25 01:44 -0700 |
| Last post | 2013-03-26 01:43 +0000 |
| Articles | 20 on this page of 42 — 13 participants |
Back to article view | Back to comp.lang.php
how to save the visitors ip addresses nag <visitnag@gmail.com> - 2013-03-25 01:44 -0700
Re: how to save the visitors ip addresses "Olaf S." <thesys@gmx.de> - 2013-03-25 12:11 +0100
Re: how to save the visitors ip addresses Salvatore <sal@yojimbo.hack.invalid> - 2013-03-25 11:13 +0000
Re: how to save the visitors ip addresses nag <visitnag@gmail.com> - 2013-03-25 04:36 -0700
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 08:28 -0400
Re: how to save the visitors ip addresses Tim Streater <timstreater@greenbee.net> - 2013-03-25 12:42 +0000
Re: how to save the visitors ip addresses Scott Johnson <noonehome@chalupasworld.com> - 2013-03-25 06:02 -0700
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-25 13:09 +0000
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 09:26 -0400
Re: how to save the visitors ip addresses Scott Johnson <noonehome@chalupasworld.com> - 2013-03-25 09:55 -0700
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 01:44 +0000
Re: how to save the visitors ip addresses Tim Streater <timstreater@greenbee.net> - 2013-03-25 13:34 +0000
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-25 14:54 +0000
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 13:24 -0400
Re: how to save the visitors ip addresses Scott Johnson <noonehome@chalupasworld.com> - 2013-03-25 10:03 -0700
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 01:57 +0000
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 13:25 -0400
Re: how to save the visitors ip addresses Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-25 19:15 +0100
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 09:22 -0400
Re: how to save the visitors ip addresses Richard Damon <Richard@Damon-Family.org> - 2013-03-27 01:29 -0400
Re: how to save the visitors ip addresses richard <noreply@example.com> - 2013-03-25 19:39 -0400
Re: how to save the visitors ip addresses "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-03-26 00:21 +0000
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 20:55 -0400
Re: how to save the visitors ip addresses Paul Herber <paul@pherber.com> - 2013-03-26 01:01 +0000
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 02:10 +0000
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 02:01 +0000
Re: how to save the visitors ip addresses "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-03-26 03:10 +0000
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 15:18 +0000
Re: how to save the visitors ip addresses Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-03-25 22:39 -0700
Re: how to save the visitors ip addresses Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-03-25 18:31 -0700
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 21:47 -0400
Re: how to save the visitors ip addresses Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-03-25 19:34 -0700
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 23:27 -0400
Re: how to save the visitors ip addresses Tim Streater <timstreater@greenbee.net> - 2013-03-26 09:10 +0000
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-26 06:16 -0400
Re: how to save the visitors ip addresses Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-26 11:42 +0100
Re: how to save the visitors ip addresses Tim Streater <timstreater@greenbee.net> - 2013-03-26 11:47 +0000
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-25 23:38 -0400
Re: how to save the visitors ip addresses Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-03-25 21:13 -0700
Re: how to save the visitors ip addresses Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-26 06:16 -0400
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 15:10 +0000
Re: how to save the visitors ip addresses The Natural Philosopher <tnp@invalid.invalid> - 2013-03-26 01:43 +0000
Page 1 of 3 [1] 2 3 Next page →
| From | nag <visitnag@gmail.com> |
|---|---|
| Date | 2013-03-25 01:44 -0700 |
| Subject | how to save the visitors ip addresses |
| Message-ID | <dab1f650-6617-41d9-b9e2-dd1afa9d5eb4@googlegroups.com> |
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.
Here it is.
<?php
$dataFile = "visitors.txt";
$sessionTime = 15; //this is the time in **minutes** to consider someone online before removing them from our file
//Please do not edit bellow this line
error_reporting(E_ERROR | E_PARSE);
if(!file_exists($dataFile)) {
$fp = fopen($dataFile, "w+");
fclose($fp);
}
$ip = $_SERVER['REMOTE_ADDR'];
$users = array();
$onusers = array();
//getting
$fp = fopen($dataFile, "r");
flock($fp, LOCK_SH);
while(!feof($fp)) {
$users[] = rtrim(fgets($fp, 32));
}
flock($fp, LOCK_UN);
fclose($fp);
//cleaning
$x = 0;
$alreadyIn = FALSE;
foreach($users as $key => $data) {
list( , $lastvisit) = explode("|", $data);
if(time() - $lastvisit >= $sessionTime * 60) {
$users[$x] = "";
} else {
if(strpos($data, $ip) !== FALSE) {
$alreadyIn = TRUE;
$users[$x] = "$ip|" . time(); //updating
}
}
$x++;
}
if($alreadyIn == FALSE) {
$users[] = "$ip|" . time();
}
//writing
$fp = fopen($dataFile, "w+");
flock($fp, LOCK_EX);
$i = 0;
foreach($users as $single) {
if($single != "") {
fwrite($fp, $single . "\r\n");
$i++;
}
}
flock($fp, LOCK_UN);
fclose($fp);
if($uo_keepquiet != TRUE) {
//echo '<div style="padding:5px; margin:auto; background-color:#fff"><b>' . $i . ' visitors online</b></div>';
}
?>
Thank you.
[toc] | [next] | [standalone]
| From | "Olaf S." <thesys@gmx.de> |
|---|---|
| Date | 2013-03-25 12:11 +0100 |
| Message-ID | <515030cd$0$6559$9b4e6d93@newsspool4.arcor-online.net> |
| In reply to | #8819 |
Am 25.03.2013 09:44, schrieb nag:
> 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.
>
> Here it is.
>
REMOVE:
> $sessionTime = 15; //this is the time in **minutes** to consider someone online before removing them from our file
>
REMOVE:
> //cleaning
> $x = 0;
> $alreadyIn = FALSE;
> foreach($users as $key => $data) {
> list( , $lastvisit) = explode("|", $data);
> if(time() - $lastvisit >= $sessionTime * 60) {
> $users[$x] = "";
> } else {
> if(strpos($data, $ip) !== FALSE) {
> $alreadyIn = TRUE;
> $users[$x] = "$ip|" . time(); //updating
> }
> }
> $x++;
> }
>
REPLACE:
> if($alreadyIn == FALSE) {
> $users[] = "$ip|" . time();
> }
TO:
$users[] = "$ip|" . time();
[toc] | [prev] | [next] | [standalone]
| From | Salvatore <sal@yojimbo.hack.invalid> |
|---|---|
| Date | 2013-03-25 11:13 +0000 |
| Message-ID | <kipbfv$r9o$1@yojimbo.hack> |
| In reply to | #8819 |
On 2013-03-25, nag <visitnag@gmail.com> wrote: > 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. You copied and pasted the code you included from another site, and it isn't working for you, so you're asking us how to make it work, right? -- Blah blah bleh... GCS/CM d(-)@>-- s+:- !a C++$ UBL++++$ L+$ W+++$ w M++ Y++ b++
[toc] | [prev] | [next] | [standalone]
| From | nag <visitnag@gmail.com> |
|---|---|
| Date | 2013-03-25 04:36 -0700 |
| Message-ID | <7b7d6b15-1d88-473a-ad82-e5d1439c450a@googlegroups.com> |
| In reply to | #8821 |
On Monday, 25 March 2013 16:43:03 UTC+5:30, Salvatore wrote: > On 2013-03-25, nag <visitnag@gmail.com> wrote: > > > 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. > > > > You copied and pasted the code you included from another site, and it > > isn't working for you, so you're asking us how to make it work, right? > > > > -- > > Blah blah bleh... > > GCS/CM d(-)@>-- s+:- !a C++$ UBL++++$ L+$ W+++$ w M++ Y++ b++ sorry to bother you. I have told clearly it is a downloaded one. As I am a beginner I could not understand the code. I tried my best to change it. Thank you.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2013-03-25 08:28 -0400 |
| Message-ID | <kipfqa$ib5$1@dont-email.me> |
| In reply to | #8819 |
On 3/25/2013 4:44 AM, 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. > > Here it is. > > <snip code> > > Thank you. > > You can't track visitors by IP. A visitor's IP can change at any time, and it is very possible to have multiple visitors from the same IP address (i.e. even at my home we have 5 computers but only 1 IP address). An IP is valid for one conversation (i.e. a page request with all of it's images) but nothing more. If you're having problems with code you download, the first thing to do is ask the author of the code. And don't expect to be able to just download code and insert it into your page(s). With ANY programming language, you need to understand the code to use it properly. This is especially true with PHP. Nothing in this code is very complicated. Have you even tried to understand it? But if you insist on going down this dead-end path, you need to tell us WHY it doesn't work. And BTW - if I WERE to insist on trying to do this (which I wouldn't), I'd use a SQL database to store the information. Much better. What you REALLY should do is get a decent log analyzer for your web server logs. It will tell you what you're looking for and a lot more. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2013-03-25 12:42 +0000 |
| Message-ID | <timstreater-E080F6.12421325032013@news.individual.net> |
| In reply to | #8823 |
In article <kipfqa$ib5$1@dont-email.me>, Jerry Stuckle <jstucklex@attglobal.net> wrote: > You can't track visitors by IP. A visitor's IP can change at any time, > and it is very possible to have multiple visitors from the same IP > address (i.e. even at my home we have 5 computers but only 1 IP > address). An IP is valid for one conversation (i.e. a page request with > all of it's images) but nothing more. 1) In both instances above you mean "e.g." and not "i.e." 2) In the above, "its" does not need an apostrophe (are you a grocer?) 3) A user's IP address is typically allocated when they reboot their ADSL router (e.g. mine has been up for 128 days), and will remain unchanged for that duration. Unless, that is, they asked their ISP for a static IP address in which case it won't change at all. 4) So even with a dynamic IP address, to say that it's valid for one page request only is complete nonsense. -- Tim "That excessive bail ought not to be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[toc] | [prev] | [next] | [standalone]
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Date | 2013-03-25 06:02 -0700 |
| Message-ID | <kiphri$tch$1@dont-email.me> |
| In reply to | #8824 |
On 3/25/2013 5:42 AM, Tim Streater wrote: > In article <kipfqa$ib5$1@dont-email.me>, > Jerry Stuckle <jstucklex@attglobal.net> wrote: > >> You can't track visitors by IP. A visitor's IP can change at any >> time, and it is very possible to have multiple visitors from the same >> IP address (i.e. even at my home we have 5 computers but only 1 IP >> address). An IP is valid for one conversation (i.e. a page request >> with all of it's images) but nothing more. > > 1) In both instances above you mean "e.g." and not "i.e." Who Cares? > > 2) In the above, "its" does not need an apostrophe (are you a grocer?) Who Cares? > > 3) A user's IP address is typically allocated when they reboot their > ADSL router (e.g. mine has been up for 128 days), and will remain > unchanged for that duration. Unless, that is, they asked their ISP for a > static IP address in which case it won't change at all. I do not use DSL so when does mine change? > > 4) So even with a dynamic IP address, to say that it's valid for one > page request only is complete nonsense. Can you quote where he said "it's valid for one page request only"? Everything JS said is valid as a general across the board statement and advice. I have seen code (js) even try to grab browser fingerprint details combined with IP and that can be spoofed. What is your suggestion TS to the OPs' question? Scotty
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-25 13:09 +0000 |
| Message-ID | <kipiak$7ro$1@news.albasani.net> |
| In reply to | #8825 |
On 25/03/13 13:02, Scott Johnson wrote: > I have seen code (js) even try to grab browser fingerprint details > combined with IP and that can be spoofed. > Can you explain to me how your web server sends a packet back to a spoofed IP address? I, and about 30billion hackers have been trying to do that for years. I think there is a nobel prize on offer.. > What is your suggestion TS to the OPs' question? > > Scotty > > -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2013-03-25 09:26 -0400 |
| Message-ID | <kipj6r$3g5$2@dont-email.me> |
| In reply to | #8826 |
On 3/25/2013 9:09 AM, The Natural Philosopher wrote: > On 25/03/13 13:02, Scott Johnson wrote: > >> I have seen code (js) even try to grab browser fingerprint details >> combined with IP and that can be spoofed. >> > > Can you explain to me how your web server sends a packet back to a > spoofed IP address? > He never said that happened. But you don't understand it. > I, and about 30billion hackers have been trying to do that for years. I > think there is a nobel prize on offer.. > Ah, there's the rub. Not only can't you count (30 billion hackers?), you finally admit you're a hacker. At last a piece of truth. We know you're neither a programmer nor an electrical engineer. But that's how trolls work. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Date | 2013-03-25 09:55 -0700 |
| Message-ID | <kipvg4$e2q$1@dont-email.me> |
| In reply to | #8826 |
On 3/25/2013 6:09 AM, The Natural Philosopher wrote: > On 25/03/13 13:02, Scott Johnson wrote: > >> I have seen code (js) even try to grab browser fingerprint details >> combined with IP and that can be spoofed. >> > > Can you explain to me how your web server sends a packet back to a > spoofed IP address? > > I, and about 30billion hackers have been trying to do that for years. I > think there is a nobel prize on offer.. > > > >> What is your suggestion TS to the OPs' question? >> >> Scotty >> >> > > I did not mean to spoof the IP. I should of been more clear. I meant the browser credentials. Scotty
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-26 01:44 +0000 |
| Message-ID | <kiquhf$5i5$2@news.albasani.net> |
| In reply to | #8831 |
On 25/03/13 16:55, Scott Johnson wrote: > On 3/25/2013 6:09 AM, The Natural Philosopher wrote: >> On 25/03/13 13:02, Scott Johnson wrote: >> >>> I have seen code (js) even try to grab browser fingerprint details >>> combined with IP and that can be spoofed. >>> >> >> Can you explain to me how your web server sends a packet back to a >> spoofed IP address? >> >> I, and about 30billion hackers have been trying to do that for years. I >> think there is a nobel prize on offer.. >> >> >> >>> What is your suggestion TS to the OPs' question? >>> >>> Scotty >>> >>> >> >> > > I did not mean to spoof the IP. I should of been more clear. I meant > the browser credentials. > ah, that is of course relatively trivial.. > Scotty -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2013-03-25 13:34 +0000 |
| Message-ID | <timstreater-7A82D6.13342425032013@news.individual.net> |
| In reply to | #8825 |
In article <kiphri$tch$1@dont-email.me>, Scott Johnson <noonehome@chalupasworld.com> wrote: > On 3/25/2013 5:42 AM, Tim Streater wrote: > > In article <kipfqa$ib5$1@dont-email.me>, > > Jerry Stuckle <jstucklex@attglobal.net> wrote: > > > >> You can't track visitors by IP. A visitor's IP can change at any > >> time, and it is very possible to have multiple visitors from the same > >> IP address (i.e. even at my home we have 5 computers but only 1 IP > >> address). An IP is valid for one conversation (i.e. a page request > >> with all of it's images) but nothing more. > > > > 1) In both instances above you mean "e.g." and not "i.e." > > Who Cares? > > > > > 2) In the above, "its" does not need an apostrophe (are you a grocer?) > > Who Cares? Anyone with two brain cells to rub together, ISTM. > > 3) A user's IP address is typically allocated when they reboot their > > ADSL router (e.g. mine has been up for 128 days), and will remain > > unchanged for that duration. Unless, that is, they asked their ISP for a > > static IP address in which case it won't change at all. > > I do not use DSL so when does mine change? Who says that it does? > > 4) So even with a dynamic IP address, to say that it's valid for one > > page request only is complete nonsense. > > Can you quote where he said "it's valid for one page request only"? Where he said: "An IP is valid for one conversation (i.e. a page request with all of it's images) but nothing more." Note that I've left his egregious hayseed grammatical errors in. -- Tim "That excessive bail ought not to be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-25 14:54 +0000 |
| Message-ID | <kipof5$je9$2@news.albasani.net> |
| In reply to | #8829 |
On 25/03/13 13:34, Tim Streater wrote: > In article <kiphri$tch$1@dont-email.me>, > Scott Johnson <noonehome@chalupasworld.com> wrote: > >> On 3/25/2013 5:42 AM, Tim Streater wrote: >> > In article <kipfqa$ib5$1@dont-email.me>, >> > Jerry Stuckle <jstucklex@attglobal.net> wrote: >> > >> >> You can't track visitors by IP. A visitor's IP can change at any >> >> time, and it is very possible to have multiple visitors from the same >> >> IP address (i.e. even at my home we have 5 computers but only 1 IP >> >> address). An IP is valid for one conversation (i.e. a page request >> >> with all of it's images) but nothing more. >> > >> > 1) In both instances above you mean "e.g." and not "i.e." >> >> Who Cares? >> >> > >> > 2) In the above, "its" does not need an apostrophe (are you a grocer?) >> >> Who Cares? > > Anyone with two brain cells to rub together, ISTM. > > >> > 3) A user's IP address is typically allocated when they reboot their >> > ADSL router (e.g. mine has been up for 128 days), and will remain >> > unchanged for that duration. Unless, that is, they asked their ISP >> for a >> > static IP address in which case it won't change at all. >> >> I do not use DSL so when does mine change? > > Who says that it does? > >> > 4) So even with a dynamic IP address, to say that it's valid for one >> > page request only is complete nonsense. >> >> Can you quote where he said "it's valid for one page request only"? > > Where he said: > > "An IP is valid for one conversation (i.e. a page request with all of > it's images) but nothing more." > in reality its valid for a whole series of page requests.If the browser does persistent connections "In HTTP 1.1, all connections are considered persistent unless declared otherwise.[1] The HTTP persistent connections do not use separate keepalive messages, they just allow multiple requests to use a single connection. However, the default connection timeout of Apache 2.0 httpd[2] is as little as 15 seconds[3] and for Apache 2.2 only 5 seconds.[4] The advantage of a short timeout is the ability to deliver multiple components of a web page quickly while not consuming resources to run multiple server processes or threads for too long.[5]" > Note that I've left his egregious hayseed grammatical errors in. > -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2013-03-25 13:24 -0400 |
| Message-ID | <kiq14d$ork$1@dont-email.me> |
| In reply to | #8830 |
On 3/25/2013 10:54 AM, The Natural Philosopher wrote: > On 25/03/13 13:34, Tim Streater wrote: >> In article <kiphri$tch$1@dont-email.me>, >> Scott Johnson <noonehome@chalupasworld.com> wrote: >> >>> On 3/25/2013 5:42 AM, Tim Streater wrote: >>> > In article <kipfqa$ib5$1@dont-email.me>, >>> > Jerry Stuckle <jstucklex@attglobal.net> wrote: >>> > >>> >> You can't track visitors by IP. A visitor's IP can change at any >>> >> time, and it is very possible to have multiple visitors from the same >>> >> IP address (i.e. even at my home we have 5 computers but only 1 IP >>> >> address). An IP is valid for one conversation (i.e. a page request >>> >> with all of it's images) but nothing more. >>> > >>> > 1) In both instances above you mean "e.g." and not "i.e." >>> >>> Who Cares? >>> >>> > >>> > 2) In the above, "its" does not need an apostrophe (are you a grocer?) >>> >>> Who Cares? >> >> Anyone with two brain cells to rub together, ISTM. >> >> >>> > 3) A user's IP address is typically allocated when they reboot their >>> > ADSL router (e.g. mine has been up for 128 days), and will remain >>> > unchanged for that duration. Unless, that is, they asked their ISP >>> for a >>> > static IP address in which case it won't change at all. >>> >>> I do not use DSL so when does mine change? >> >> Who says that it does? >> >>> > 4) So even with a dynamic IP address, to say that it's valid for one >>> > page request only is complete nonsense. >>> >>> Can you quote where he said "it's valid for one page request only"? >> >> Where he said: >> >> "An IP is valid for one conversation (i.e. a page request with all of >> it's images) but nothing more." >> > in reality its valid for a whole series of page requests.If the browser > does persistent connections > > "In HTTP 1.1, all connections are considered persistent unless declared > otherwise.[1] The HTTP persistent connections do not use separate > keepalive messages, they just allow multiple requests to use a single > connection. However, the default connection timeout of Apache 2.0 > httpd[2] is as little as 15 seconds[3] and for Apache 2.2 only 5 > seconds.[4] The advantage of a short timeout is the ability to deliver > multiple components of a web page quickly while not consuming resources > to run multiple server processes or threads for too long.[5]" > > Which has absolutely nothing to do with DHCP and dynamic IP address assignment (which is handled by an entirely different server, independent of the web browser). But of course you're too stoopid to understand there IS a difference - much less what that difference is. > > >> Note that I've left his egregious hayseed grammatical errors in. >> > > -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Date | 2013-03-25 10:03 -0700 |
| Message-ID | <kipvvc$i85$1@dont-email.me> |
| In reply to | #8829 |
On 3/25/2013 6:34 AM, Tim Streater wrote: > In article <kiphri$tch$1@dont-email.me>, > Scott Johnson <noonehome@chalupasworld.com> wrote: > <snip> >> > 4) So even with a dynamic IP address, to say that it's valid for one >> > page request only is complete nonsense. >> >> Can you quote where he said "it's valid for one page request only"? > > Where he said: > > "An IP is valid for one conversation (i.e. a page request with all of > it's images) but nothing more." > OK I concede, sort of. I think the key word in his statement is 'valid'. But I am sure you may be able to find a way around it. Scotty
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-26 01:57 +0000 |
| Message-ID | <kiqva9$6qt$1@news.albasani.net> |
| In reply to | #8832 |
On 25/03/13 17:03, Scott Johnson wrote: > On 3/25/2013 6:34 AM, Tim Streater wrote: >> In article <kiphri$tch$1@dont-email.me>, >> Scott Johnson <noonehome@chalupasworld.com> wrote: >> > <snip> >>> > 4) So even with a dynamic IP address, to say that it's valid for one >>> > page request only is complete nonsense. >>> >>> Can you quote where he said "it's valid for one page request only"? >> >> Where he said: >> >> "An IP is valid for one conversation (i.e. a page request with all of >> it's images) but nothing more." >> > > OK I concede, sort of. I think the key word in his statement is 'valid'. > > But I am sure you may be able to find a way around it. > > Scotty > i did all of this for a web site. Essentially each page called a common framework , and the frame did IP capture - and indeed reverse DNS and whois lookup on the data so I could see from time to time who was accessing it. The data went in a database. the results were very useful to me for the purpose that site was created to implement, but a 1:1 correspondence with a given user and a given IP address was simply not on. I was able to identify companies who were perusing the site, because they had fixed and registered IP addresses. I could not however tell how many people within each company were accessing the site, because most of them used proxy servers and the stuff all came from just one IP address. Neither was the browser string much use - a lot of companies have 'corporate desktops and use identical versions of just one browser. As far as people on dial up or dynamic adsl were concerned, all I could say was with which ISP they were, and occasionally which geographical location they were in. Tracking individual users you can ONLY realistically do with cookies. IN the UK you have to tell people you are doing that, these days and give them the option not to be recorded. If you are using cookies ( sessions) to preserve identity across pages well its a trivial step to have them all in a database and display who has been online in the last 15 minutes or whatever your cutoff point is. Provided they have logged in at some point so you do konw who they are. That is what most sites do, I would say. -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2013-03-25 13:25 -0400 |
| Message-ID | <kiq17a$ork$2@dont-email.me> |
| In reply to | #8825 |
On 3/25/2013 9:02 AM, Scott Johnson wrote: > On 3/25/2013 5:42 AM, Tim Streater wrote: >> In article <kipfqa$ib5$1@dont-email.me>, >> Jerry Stuckle <jstucklex@attglobal.net> wrote: >> >>> You can't track visitors by IP. A visitor's IP can change at any >>> time, and it is very possible to have multiple visitors from the same >>> IP address (i.e. even at my home we have 5 computers but only 1 IP >>> address). An IP is valid for one conversation (i.e. a page request >>> with all of it's images) but nothing more. >> >> 1) In both instances above you mean "e.g." and not "i.e." > > Who Cares? > >> >> 2) In the above, "its" does not need an apostrophe (are you a grocer?) > > Who Cares? > >> >> 3) A user's IP address is typically allocated when they reboot their >> ADSL router (e.g. mine has been up for 128 days), and will remain >> unchanged for that duration. Unless, that is, they asked their ISP for a >> static IP address in which case it won't change at all. > > I do not use DSL so when does mine change? > >> >> 4) So even with a dynamic IP address, to say that it's valid for one >> page request only is complete nonsense. > > Can you quote where he said "it's valid for one page request only"? > > Everything JS said is valid as a general across the board statement and > advice. > > I have seen code (js) even try to grab browser fingerprint details > combined with IP and that can be spoofed. > > What is your suggestion TS to the OPs' question? > > Scotty > > Scotty, you have to understand. Timmy is a troll who has to inject something into conversations, even if it has nothing to do with the subject (as he did here), or is incorrect (as he also did here). He's not capable of providing positive assistance, so he has to find ways to criticize anyone who does. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2013-03-25 19:15 +0100 |
| Message-ID | <5784488.hCu0vuWm2f@PointedEars.de> |
| In reply to | #8825 |
Scott Johnson wrote: > On 3/25/2013 5:42 AM, Tim Streater wrote: >> 3) A user's IP address is typically allocated when they reboot their >> ADSL router (e.g. mine has been up for 128 days), Is that an invitation to crack your router/LAN? >> and will remain unchanged for that duration. Unless, that is, they asked >> their ISP for a static IP address in which case it won't change at all. > > I do not use DSL so when does mine change? Never if your box is assigned a static or fixed IP address. However, this has nothing to do with DSL and (A)DSL routers. It has to do with DHCP, and applies to other IP connections as well, for example broadband cable. There is IP masquerading as part of NAT, though, so it is possible that different hosts in the same network have the same IP address from the perspective of other networks (“external IP address”), including the network the PHP host is part of. PointedEars -- When all you know is jQuery, every problem looks $(olvable).
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2013-03-25 09:22 -0400 |
| Message-ID | <kipiuf$3g5$1@dont-email.me> |
| In reply to | #8824 |
On 3/25/2013 8:42 AM, Tim Streater wrote: > In article <kipfqa$ib5$1@dont-email.me>, > Jerry Stuckle <jstucklex@attglobal.net> wrote: > >> You can't track visitors by IP. A visitor's IP can change at any >> time, and it is very possible to have multiple visitors from the same >> IP address (i.e. even at my home we have 5 computers but only 1 IP >> address). An IP is valid for one conversation (i.e. a page request >> with all of it's images) but nothing more. > > 1) In both instances above you mean "e.g." and not "i.e." > Stuff it. > 2) In the above, "its" does not need an apostrophe (are you a grocer?) > Stuff it. > 3) A user's IP address is typically allocated when they reboot their > ADSL router (e.g. mine has been up for 128 days), and will remain > unchanged for that duration. Unless, that is, they asked their ISP for a > static IP address in which case it won't change at all. > That is true in YOUR case. DHCP addresses may be valid for as little as 30 minutes to as long as one year. It all depends on who's assigning the dynamic IP (it is NOT always the ISP!). Additionally, that does not mean you will keep the same IP address. It is not at all uncommon for a company to use multiple proxies, for instance. In that case each request can come through a different proxy - even requests for images on the page may come through a different proxy than the original page request. AOL does this, as well as many major companies. > 4) So even with a dynamic IP address, to say that it's valid for one > page request only is complete nonsense. > Your entire update is complete nonsense. You only make a fool of yourself when you correct someone with incorrect information. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Richard Damon <Richard@Damon-Family.org> |
|---|---|
| Date | 2013-03-27 01:29 -0400 |
| Message-ID | <9tv4t.55653$_R.44777@en-nntp-16.dc1.easynews.com> |
| In reply to | #8824 |
On 3/25/13 8:42 AM, Tim Streater wrote: > In article <kipfqa$ib5$1@dont-email.me>, > Jerry Stuckle <jstucklex@attglobal.net> wrote: > >> You can't track visitors by IP. A visitor's IP can change at any >> time, and it is very possible to have multiple visitors from the same >> IP address (i.e. even at my home we have 5 computers but only 1 IP >> address). An IP is valid for one conversation (i.e. a page request >> with all of it's images) but nothing more. > > 1) In both instances above you mean "e.g." and not "i.e." > > 2) In the above, "its" does not need an apostrophe (are you a grocer?) > > 3) A user's IP address is typically allocated when they reboot their > ADSL router (e.g. mine has been up for 128 days), and will remain > unchanged for that duration. Unless, that is, they asked their ISP for a > static IP address in which case it won't change at all. > > 4) So even with a dynamic IP address, to say that it's valid for one > page request only is complete nonsense. > I have seen some setup were the user was given a private space IP address, which the ISP would NAT out through a /24 (or bigger) block of addresses. Under this situation, the IP address might not be stable for an entire page request, as when the browser opens up a second channel for an image, this could be mapped to a different IP address in the block. This setup was more common with dial up, but may become more common for residential access as a way to preserve IP space to delay the need to move the residence to IPv6. This method does give some issues with web sites that protect from session hijacking by checking for IP addresses. Some application I use specifically allow for this check to be set to only match part of the IP address.
[toc] | [prev] | [next] | [standalone]
Page 1 of 3 [1] 2 3 Next page →
Back to top | Article view | comp.lang.php
csiph-web