gethostbyname() is used to get the IP address corresponding to a given Internet host name.
Examples code:
<?php
$ip = gethostbyname(‘www.mistonline.in’);
echo $ip;
?>One way to discover your IP address automatically:
<?php
// need to trim() because whitespace will confuse the name lookup
$myIP = gethostbyname(trim(`hostname`));
echo $myIP;
?>
Incoming search terms:
- javascript gethostbyname (97)
- gethostbyname javascript (32)
- bash gethostbyname (26)
- gethostbyname in javascript (19)
- gethostbyname function (17)
- gethostbyname bash (11)
- gethostbyname2 example (10)
- gethostbyname tutorial (9)
- using gethostbyname (4)
- gethostbyname script (4)
- js gethostbyname (4)
- get ip address with javascript (4)
- getting ip address in javascript (4)
- getFloatByName in javascript (3)
- gethostbyname cpanel (3)
- gethostbyname (3)
- what is the technologye of gethostbyname (3)
- gethostbyname2 tutorial (2)
- gethostbyname tutorial c (2)
- gethostbyname c ip (2)
- gethostbyname with javascript (2)
- gethostbyname print ip address (2)
- gethostbynamefunction (2)
- gethostbyname my ip (2)
- gethostbyname shell script (2)
- javascript getipaddress (2)
- bash: gethostbyname (2)
- htaccess gethostbyname (2)
- gethostbyname ip address (2)
- unable to get my IP address: gethostbyname (2)
- get ip address in c gethostbyname (2)
- javascript gethostbyname ip (2)
- javascript gethostby name (2)
- javascript gethostbuname (1)
- ip functions tutorial (1)
- javascript gethostbyname -php -perl (1)
- jquery gethostbyname web (1)
- javascrip gethostbyname (1)
- javascript gethostbyname markup (1)
- javascript contact php to return ip address (1)
You will also be interested in ,
- Calendar Script Using Javascript [Updated]
- .htaccess some facts and rules
- Simple PHP Login Script
- Appending string using php to a text file
- Display Tags in wordpress
- Url rewriting examples using .htaccess
- MD5 Function and Unique ID in php
- How to create random passwords using php
- Caching of images using javascript image object
- Caching of web page using php


Sounds cool……………
hmm nice one…
nice website..
hmm good..
cool..
Good website….
gud one