Computer's name

General discussions related to php

Moderators: macek, egami, gesf

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

Re: Computer's name

Post by swirlee » 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.

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

Post by tryton » Mon Aug 25, 2003 7:20 pm

What good would the name of the computer be??

Swirlee, love the sig.

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

Post by sigix » Tue Aug 26, 2003 10:55 pm

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest