YP/NIS 함수 목록
PHP Manual

yp_order

(PHP 4, PHP 5 <= 5.0.5)

yp_order — Returns the order number for a map

설명

int yp_order ( string $domain , string $map )

Gets the order number for a map.

인수

domain

map

반환값

Returns the order number for a map or FALSE on error.

예제

Example #1 Example for the NIS order

<?php
    $number 
= yp_order($domain, $mapname);
    echo 
"Order number for this map is: " . $number;
?>

참고


YP/NIS 함수 목록
PHP Manual