Does anyone know how to get the value of current user (%USER%) from windows so that it can be used in a php session?
Thanks
if you meen on the client, then i dont think there's really a reliable method for this.
you might look into $_SERVER['REMOTE_USER'] though.
You are correct, this is for the client side. I want to know who is logged onto a windows system (this app will be used within a windows domain) so that I can use that info in PHP.
actually, i think its $_SERVER['LOGON_USER']; your looking for. at least thats what you would use in asp.
its very unreliable though as im sure allot of browsers block this info from being sent.