Home >php教程 >php手册 >PHP检测qq在线状态

PHP检测qq在线状态

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 11:45:021583browse

PHP检测qq在线状态,支持多个帐号检测
<?php <br /> $qqStr = '781787584:291277891:781787584:1585887008:10086:1035334740:8043198';<br> $qqArr = explode ( ':', $qqStr );<br> $qqArr = array_unique ( $qqArr );<br> sort ( $qqArr );<br> $qqStr = implode ( ':', $qqArr );<br> $url = 'http://webpresence.qq.com/getonline?Type=1&' . $qqStr . ':';<br> $html = file_get_contents ( $url );<br> $Arr = explode ( ']=', $html );<br> $count = count ( $Arr );<br> for($i = 1; $i      $result [$qqArr [$i - 1]] = substr ( $Arr [$i], 0, 1 );<br> }<br> print_r ( $result );<br> <br> exit ();

AD:真正免费,域名+虚机+企业邮箱=0元

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