Home >Backend Development >PHP Tutorial >php读取3389的脚本_php实例

php读取3389的脚本_php实例

WBOY
WBOYOriginal
2016-06-07 17:20:15843browse
复制代码 代码如下:

$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.php.net 脚本之家收集
?>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn