复制代码 代码如下:<?php$regkey = ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp\PortNumber’;$shell = new COM(‘WScript.Shell’);var_dump($shell->RegRead($regkey));//www.jb51.net 软件开发网收集?>