Can I retrieve the Windows username?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

andrewdavey
New php-forum User
New php-forum User
Posts: 16
Joined: Wed Feb 12, 2003 5:27 am
Location: Cornwall, England

W32api

Postby andrewdavey » Thu Mar 13, 2003 7:04 am

If you check out the W32api set of functions in the php documentation you'll see that it is possible to call a Windows API function from PHP. For example, GetUserName.

*JaH*
New php-forum User
New php-forum User
Posts: 80
Joined: Fri Jan 31, 2003 4:18 pm

Postby *JaH* » Thu Mar 13, 2003 8:28 am

no that's not possible with php :) unless you use the overflow bug in apache and get control over the box :)

You do mean the username of the visitor right? not the username of the server :)


Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest