Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

PHP: Afficher les noms des protocoles associés aux numéros


{filelink=15348}

<?php

    for ($number = 0; $number < 255; $number++)
 {
    $protocole_num = $number;
    $protocole = getprotobynumber($protocole_num );
    if($protocole === false) {

        echo "$protocole_num ne correspond à aucun protocole<br/>";
    }
    else
    {
        echo "$protocole_num Correspond à '$protocole'<br/>";
    }
  }
?>

No comments yet.

Leave a Comment