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
|
![]()
間違いの指摘をしていただける方はメールでお願いします
最新のブログ記事
- Facebook風のサムネイル付きサジェストボックスを実装するサンプル
- 2009年7月3日 管理人のブックマーク
- PHPとCSSで動的に綺麗なパーセンテージグラフを描画サンプル
- 普通の写真をすばらしいアートにするためのPhotoshopチュートリアル集
- シマシマの見やすいテーブルを作成するMooToolsプラグイン「ZebraTable」
- 2009年7月2日 管理人のブックマーク
- 「フォローしてね」を表すTwitterアイコン集
- シンプルなTwitter検索を行うためのPHPスクリプト
- PHPのcURLを使ってできる便利なサンプル集
- 2009年7月1日 管理人のブックマーク
- iPhone3.0の緯度経度APIで移動履歴を地図描画するサンプル





















