Computer's name

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
swirlee
Moderator
Moderator
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Mon Aug 25, 2003 2:40 pm

claudio.junior wrote:Good Night my Friends!
I'm a beginner in PHP and this question may sound silly.
Is there any chance for me to print on the page "the name of the computer" that is visiting the web site?


By "name" I can only assume that you're talking about the "Computer Name" that Windows systems have. The answer is no, unless you happen to be on the same LAN. You can retrieve a lot of information about the visitor, like IP address, browser, and whatnot, but not the computer name. This may be possible using JavaScript, but I can't say for sure.
Image

User avatar
tryton
New php-forum User
New php-forum User
Posts: 49
Joined: Wed Jul 09, 2003 8:25 am
Location: Joze
Contact:

Mon Aug 25, 2003 7:20 pm

What good would the name of the computer be??

Swirlee, love the sig.
JCCorner.com - Online marketplace including online mall, link trading post, web articles and community board.

sigix
php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Tue Aug 26, 2003 10:55 pm

one can get the ip address of the user browsing.... :arrow:

Post Reply