> How do I convert from Domain Name to IP address and vice versa. > Mick Spooner
read up on sockets. try something like this: $ip = inet_ntoa( scalar gethostbyname($hostname) ); $hostname = gethostbyaddr( inet_aton( "127.0.0.1" ), AF_INET ); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]