I\'m using PHP CURL to send a request to a server. What do I need to do so the response from server will include that server\'s IP address?
echo ''; print_r(gethostbynamel($host)); echo '';
'; print_r(gethostbynamel($host)); echo '
That will give you all the IP addresses associated with the given host name.