YP/NIS Funções
PHP Manual

yp_order

(PHP 4, PHP 5 <= 5.0.5)

yp_order — Returns the order number for a map

Descrição

int yp_order ( string $domain , string $map )

Gets the order number for a map.

Parâmetros

domain

map

Valor Retornado

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

Exemplos

Exemplo #1 Example for the NIS order

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

Veja Também


YP/NIS Funções
PHP Manual