Can I retrieve the Windows username?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

W32api

Post by 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

Post by *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 :)

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests