Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/1.php on line 1

Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/0.php on line 1
PHP. Руководство по PHP. 2005 (создание и продвижение сайта)
создание и продвижение сайта (вбиваю в ТОП-10, как гвозди)Настройка и сопровождение платной рекламы яндекс.директ

PHP. Руководство по PHP. 2005

yp_match

Пред.

След.

yp_match

(PHP 3 >= 3.0.7, PHP 4, PECL)yp_match -- Returns the matched line

Description

string yp_match (string domain, string map, string key)

yp_match() returns the value associated with

the passed key out of the specified map or FALSE. This key must

be exact.

Пример 1. Example for NIS match

<?php

$entry = yp_match($domain, "passwd.byname", "joe");

echo "Matched entry is: " . $entry;

?>

The above code will produce :

joe:##joe::100:Joe User:/home/j/joe:/usr/local/bin/bash

See also yp_get_default_domain().

Пред.

Начало

След.

yp_master

Уровень выше

yp_next

Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.

Ваше письмо×
Free Web Hosting