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>";
?>
スポンサード リンク
最新のブログ記事(新着順)
- PHPユーザのためのPythonとGoogle App Engine勉強会
- 2chのdat落ちしたスレを右クリックで即座に蘇生させられるFirefoxアドオン「fire2chDat」
- FlashがブロックされているかJavaScriptで判断できるようになる「flashblockdetector」
- 2010年3月14日 管理人のブックマーク
- 2010年3月9日 管理人のブックマーク
- かなりカッコいいPHP&MySQLなAjax式コンタクトフォーム
- PHPによってCSSを動的に出力する初心者向けチュートリアル
- ジェスチャーの指示が超分かりやすくできるベクターアイコン集「Gesturecons」
- CSSを使ったOperaブラウザのロゴがすごい
- スクロールさせると日が沈んでいく面白いサイト「Morning Sunset」


















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


