note 13786 modified in function.ircg-pconnect by philip
| From: | philip@php.net | Date: | Fri, 31 Aug 2001 18:00:58 +0000 |
| Subject: | note 13786 modified in function.ircg-pconnect by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17448@lists.php.net to get a copy of this message | ||
"parameter server_ip can only be an IP"
just a very little work-around:
$server_ip = gethostbyname("irc.server.com");
gethostbyname will convert an internet address to an IP
php.net/gethostbyname
http://www.php.net/manual/en/function.ircg-pconnect.php