how to get computer name and to which domain or network

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ecxzqute
Forum Commoner
Posts: 29
Joined: Tue Oct 14, 2008 12:26 am

how to get computer name and to which domain or network

Post by ecxzqute »

hey guys!, just wondering if is it possible to get computer name and workgroup name using php?

if it is.. then can you share me some ideas please?
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: how to get computer name and to which domain or network

Post by Mark Baker »

Not within PHP

You need some utility actually running client-side to extract this information, and I don't believe that javascript (running in a sandbox as it does) can access this from the client
Post Reply