D:>nbtstat -a IPAddr
查看一下那个用户所在的机器的当前用户名
查看一下那个用户所在的机器的当前用户名
解决方案 »
- 戴尔win7系统安装appserv安装不了,急!!!
- 请问一下,申请了一个空间,而且里面自带一个数据库,我用默认的账号密码连接SELECT command denied to user 这个错误
- ftp_nb_put 只能传文本文件 其它文件传不上啊
- 使用shell_exec的问题
- 电子商城的产品图片上传怎么解决
- 请教:mail函数使用
- 有关于header的问题
- 语句正确,但是没有执行结果,大家帮忙!
- 如何在网页中嵌入ms-word编辑器 急、急、急、急、急、急、急……
- 救急!
- 菜鸟问题 .请问,这样的分页 (1 2 3 4 5 ...),不是 (上一页.下一页)这种, 怎么做??能给个源代码不!谢谢各位。
- 关于PHP程序员工资待遇问题的讨论!
是不是只有管理员的权限才可以.
//getenv("REMOTE_ADDR") 得到浏览者的IP地址, gethostbyaddr($ip) 根据IP得到主机名字。
这是我变通的解决方法。
LPTSTR lpBuffer, // name buffer
LPDWORD nSize // size of name buffer
);
Parameters
lpBuffer
[out] Pointer to the buffer to receive the null-terminated string containing the user's logon name. If this buffer is not large enough to contain the entire user name, the function fails. A buffer size of (UNLEN + 1) characters will hold the maximum length user name including the terminating null character. UNLEN is defined in Lmcons.h.
nSize
[in/out] On input, specifies the maximum size, in TCHARs, of the buffer specified by the lpBuffer parameter. On output, receives the number of characters copied to the buffer.
If the buffer is not large enough, the function fails and nSize receives the required buffer size, in TCHARs, including the terminating null character. Return Values
If the function succeeds, the return value is a nonzero value, and the variable pointed to by nSize contains the number of TCHARs copied to the buffer specified by lpBuffer, including the terminating null character. If the function fails, the return value is zero. To get extended error information, call .
MSDN上的!你可以写个com试试