baria Mahesh::
you will use this code for getting ip address which is given below::
<?php
$ip = gethostbyname('www . example . com');
$out = "The following URLs are equivalent:<br />\n";
$out .=...