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

PHP检测qq在线状态

WBOY
Release: 2016-06-07 11:45:02
Original
1534 people have browsed it

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元

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template