PHP5でICQステータスを得るクラスライブラリ
2006年07月31日-
スポンサード リンク
PHP Classes - Class: ICQ Status class
This class is meant to retrive the status of ICQ user given his UIN (User Identification Number).
PHP5でICQステータスを得るクラスライブラリ。
クラスになっていて次のようにシンプルに使えます。
<?php
$icq_numbers = array("145133640", // my own number
"2811537",
"3507466",
"125522049",
"245334232",
"238665"
);
require(dirname($_SERVER["PHP_SELF"]).DIRECTORY_SEPARATOR."icq_status_class.php5");
foreach( $icq_numbers as $icq_number )
{
if( !$status = ICQ::status( $icq_number ) )
{
print_r(ICQ::$error);
break;
}
$status = explode(" ",$status);
print_r("The status for uin: ". $icq_number ." is ".$status[0] ." <img src="".$status[1].""> rn" );
}
?>
UINを与えてステータスを表示するスクリプトになってるようです。
関連の記事検索:PHP
スポンサード リンク
Advertisements
SITE PROFILE
最新のブログ記事(新着順)
- 2012年2月10日 管理人のブックマーク
- ブラウザ上でPDFを表示するJSライブラリ「PDF.js」
- 次世代の検索フォームを作成するjQuery&CSS3サンプル
- 2012年2月9日 管理人のブックマーク
- faviconを書き換えてfacebookの通知っぽくしてくれるfaviconアラート実装ライブラリ「Tinycon」
- ページめくりを実現するためのjQueryプラグイン集
- 2012年2月8日 管理人のブックマーク
- HTMLをアップするとCSSのスケルトンを自動生成してくれる「bearcss」
- HTML5で綺麗でインタラクティブなグラフが描けるライブラリ「Flotr2」
- 2012年2月7日 管理人のブックマーク
- 過去のエントリ



















間違いの指摘をしていただける方はメール、あるいはTwitterでお願いします(クリック)




