note 10660 modified in function.getservbyport by derick

From: Date: Sun, 12 May 2002 15:31:17 +0000
Subject: note 10660 modified in function.getservbyport by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-30515@lists.php.net to get a copy of this message
Like the previous post of palands, the protcol tcp must be in lower case, either quoted or unquoted.. Example: $value=getservbyport(31337, "tcp"); Uppercase will not work. --was-- Like the previous post of palands, the protcol tcp must be in lower case, either quoted or unquoted.. Example: $value=getservbyport(31337, tcp); or $value=getservbyport(31337, "tcp"); Uppercase, quoted or unquoted will not work. http://www.php.net/manual/en/function.getservbyport.php

« previous php.notes (#30515) next »