You are here: Re: Is it legal? « PHP Language « IT news, forums, messages
Re: Is it legal?

Posted by Jean Pierre Daviau on 11/17/07 15:16

Every times I update, or change a page and browse to check the
appearance in real time it increases the counter.
so
if (getenv('REMOTE_HOST' != "my computer name") would prevent the
counter to 'count' me.



"Ian Hobson" <ian.hobson@ntlworld.com> a ιcrit dans le message de
news: 3Xo%i.37973$uH.6667@newsfe4-gui.ntli.net...
> Jean Pierre Daviau wrote:
>> Hi,
>>
>> Is it legal to get the computer name of a client visitor?
>>
>> The following guives the server name? $name =
>> getenv('COMPUTERNAME');
>>
>>
> Not on my setup it doesn't.
>
> getenv('REMOTE_HOST') would contain the name if it is sent.
>
> Firefox does not send it. Internet Explorer does not send it.
>
> but I'm curious.
>
> 1) You can't use the name to get back to the visitor - he is
> behind a firewall.
>
> 2) You can't know the name is unique - many people name
> machines after planets, so there will be thousands of "mars"
> and "jupiter" machines.
>
> 3) Many machines will not have a name, or the name will have
> meaning only within their local network and in the protocol
> used there.
>
> SO what on earth are you going to do with it if you could get
> it??????
>
> Regards
>
> Ian
>
>
>
>

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация