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
のインストールは完了しました。
…
//ファイル一覧を表示するパスを指定する
$path = “../member”;
//ディレクトリを表示する
print(“ディレクトリ「“.$path.”」の一覧
“); //文法 disk_free_space( パス ) //disk_free_spaceは指定したパスに対応するドライブの空き容量をバイト数で //返す print(“ドライブの空き容量 “.disk_free_space($path).”バイト
“); //文法 disk_total_space( パス ) //disk_total_spaceは指定したパスに対応するドライブの使用容量をバイト数で返す // print(“ドライブの使用容量 “.disk_total_space($path).”バイト
“); 参考サイト:http://allabout.co.jp/gm/gc/47433/
“); //文法 disk_free_space( パス ) //disk_free_spaceは指定したパスに対応するドライブの空き容量をバイト数で //返す print(“ドライブの空き容量 “.disk_free_space($path).”バイト
“); //文法 disk_total_space( パス ) //disk_total_spaceは指定したパスに対応するドライブの使用容量をバイト数で返す // print(“ドライブの使用容量 “.disk_total_space($path).”バイト
“); 参考サイト:http://allabout.co.jp/gm/gc/47433/
この投稿へのコメント
コメントはまだありません。