Gen. partnerAlgotech

PHP function gethostbynamel()

Get a list of IPv4 addresses corresponding to a given Internet host

|
September 11, 2019

Availability in PHP 4.0

Get a list of IPv4 addresses corresponding to a given Internet host

Parameters

Parameter Data type Default value Note
$hostname string not The host name.

Return values

array

an array of IPv4 addresses or false if hostname could not be resolved.

Additional resources

Official gethostbynamel documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.