My guess is you are trying to identify unique computers? If so, there are a few threads around here that you may want to take a look at: [webmasterworld.com...] [webmasterworld.com...]
Sure, you can use the command line using the Program Execution Functions [us.php.net]. This will work on the local server, though. Are you talking about your visitors ID or your own?