Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get ip from host

$ip = gethostbyname("google.com");

echo $ip; // 142.251.128.46
 
PREVIOUS NEXT
Tagged: #php #ip #host
ADD COMMENT
Topic
Name
5+8 =