Computer's name

General discussions related to php

Moderators: egami, macek, gesf

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

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

Mon Aug 25, 2003 7:20 pm

What good would the name of the computer be??

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

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
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests