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

Posted by Ian Hobson on 11/16/07 22:35

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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация