In article <11**********************@l41g2000cwc.googlegroups .com>,
ja**********@gmail.com wrote:
Can a php file running on an intranet server read the username people
logged onto the network with?
In Visual Basic I use the api apiGetUserName
Private Declare Function apiGetUserName Lib "advapi32.dll" _
Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As
Long
Regards,
Jan Nordgreen
Nope, a browser doesn't "login" to a web server unless you require some
sort of session authentification. Then you can use php's session
variables to return that information.
Without authentication, all you can get is the remote IP address of the
client browser.
--
DeeDee, don't press that button! DeeDee! NO! Dee...