Net_Whois::query() – whois 問い合わせを実行する
pear install Net_Socket
pear install Net_Whois
もし、「WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update」
という警告が出る場合は、以下を実行して、pear.php.netをアップデートします。
# pear channel-update pear.php.net
私の場合は、警告は出ましたが、アップグレードしなくても
pear install Net_Socket
pear install Net_Whois
のインストールは完了しました。
…
ピックアップ記事
phpでwhois情報の取得
2009年12月26日
過去Blog
[UIColor] フォントの色を変えたい時
2010年12月13日
過去Blog
UIアイテムに表示させるフォントの色などの設定
self.TextLabel = [self newLabelWithPrimaryColor:[UIColor colorWithRed:0.0 green:0.5 blue:1.0 alpha:1.0]
selectedColor:[UIColor whiteColor] fontSize:14.0 bold:YES];
上記のようにす…
phpでRSSを取得後の日付表示方法を変更する
2009年12月05日
過去Blog
FC2ブログからRSSを取得すると、日付は以下のようになる。
<dc:date>2009-12-24T00:20:00+09:00</dc:date>
このままでは、少しかっこが悪いので、以下のように修正。
$date ="2009-12-05T05:55:00+09:00";
$date = strtotime($date);
$date = date('Y/m/d …
[PHP]Cannot use object of type stdClass as array
2011年03月24日
過去Blog
根本的な解決ではないかもしれませんが、「Cannot use object of type stdClass as array」エラーが出る場合は、配列の扱い方を以下のように変更する事で解決しました。
$row["catID"]
↓
$row->catID
rootでログイン出きるようにする「fedora 12」
2010年04月05日
過去Blog
fedora 12 best templates
この投稿へのコメント
コメントはまだありません。