Getservbyname.Php

 
<?php
   echo "HTTP's default port number is: ".getservbyname("http", "tcp");
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.