PHPからSkypeのステータスを得るクラスライブラリ:phpSkypeStatus
2006年07月29日
スポンサード リンク
PHP Classes - Class: phpSkypeStatus
Skype is a popular voice communication program that is used by many millions of users worldwide. It can be used to communicate between two or more users that are online at the same time. This class can be used to determine automatically if a given user is online and available for talking.
PHPからSkypeのステータスを得るクラスライブラリ。phpSkypeStatus。
サイトにskypeのステータスを貼り付けたりすることが可能です。
次のようにクラスで使えて便利です。
<?php
require_once("class.phpSkypeStatus.php");
$skypeid="bastian.gorke";
// new status
$status = new phpSkypeStatus($skypeid);
// if param image = 1 return just the image
if ($_GET['image'] == "1"){
$status->getImagePNG("smallclassic");
}
echo "<html><head><title>".$skypeid." status is ".$status->getText()."</title></head><body>";
echo "<h1>".$skypeid." status is ".$status->getText()."</h1>";
echo "<p>This is a simple example for the phpSkypeStatus class. As you can see my status is: <img src="".$PHPSELF."?image=1" /></p>";
echo "<p>In my language german this status is named ".$status->getText("de")."</p>";
echo "</body></html>";
?>
スポンサード リンク
投稿者 KJ : 2006年07月29日 12:07
|
![]()
間違いの指摘をしていただける方はメールでお願いします
最新のブログ記事
- jQueryでゲームを作成するためのライブラリ「gameQuery」
- Firefoxでモバイルサイトの動作確認「FireMobileSimulator」
- 2008年9月5日 管理人のブックマーク
- tableタグで画像を描くPHPクラス
- ブラウザの使用時間を計れるFirefox拡張「TimeTracker」
- ActionScript3で曲げたりうねらせたりする物理ライブラリ「as3dmod」
- 2008年9月4日 管理人のブックマーク
- シンプルなUIアイコンセット「Simplicio」
- jQueryを使ったアプリのユニットテスト「QUnit」
- Photoshopで漫画エフェクトを与えるチュートリアル20
- 2008年9月3日 管理人のブックマーク


















