midicreation Posted September 1, 2006 Share Posted September 1, 2006 Just wondering if anyone knows if it is possible to retrieve the local computer username in windows using php? Quote Link to comment Share on other sites More sharing options...
ludjer Posted September 1, 2006 Share Posted September 1, 2006 i think you can do that in java but im not to sure Quote Link to comment Share on other sites More sharing options...
samshel Posted September 1, 2006 Share Posted September 1, 2006 I am not sure but i think it is not possible as PHP being a Server side language does get only the information about client only what is passed in HTTP headers. and i think user name is not passed. but still worth checking... Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 1, 2006 Share Posted September 1, 2006 the local machine, being the server.remote machine being the user's machine.Anyhow.. for the latter (user's machine) no.For the local/server php_uname() may contain the info you need. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.