/*---------用户组信息*/
$computer=new com("winnt://.");
$computer->filter=array("user");
echo "user:<hr>";
foreach($computer as $user){
echo "<li>".$user->name."</li>";
// getuserinfo($user->name);
echo "<hr>";
}
echo "usergroup:<hr>";
$computer->filter=array("group");
foreach($computer as $group){
echo "<li>".$group->name."</li>";
echo $group->description."<hr>";
}
echo "<hr>无名氏作品";
php5 for winxp/2k 测试通过~ 呵呵~~ 主要是采用 php com函数调用系统组件实现的~~不过 这个函数有点危险性~~
新闻热点
疑难解答