システム・プログラム関連のメモや最新技術についてのメモを掲載

IPアドレスからホスト名への変換 gethostbyaddr()

指定したIPアドレスに対するホスト名を取得する

$host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo $host;


You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.