getservbyport.php : getservbyport « Date « PHP






getservbyport.php

 
<?php
   echo "Port 80's default service is: ".getservbyport(80, "tcp"); 
?>
  
  

Related examples in the same category

1.Using getservbyport()