mysql_get_proto_info

(PHP 4 >= 4.0.5, PHP 5)

mysql_get_proto_info -- бНГБПЮЫЮЕР ХМТНПЛЮЖХЧ Н ОПНРНЙНКЕ MySQL

нОХЯЮМХЕ

int mysql_get_proto_info ( [resource link_identifier])

mysql_get_proto_info() БНГБПЮЫЮЕР БЕПЯХЧ ОПНРНЙНКЮ, ХЯОНКЭГСЕЛСЧ ЯНЕДХМЕМХЕЛ, МЮ ЙНРНПНЕ ЯЯШКЮЕРЯЪ СЙЮГЮРЕКЭ link_identifier. еЯКХ ОЮПЮЛЕРП link_identifier НОСЫЕМ, ХЯОНКЭГСЕРЯЪ ОНЯКЕДМЕЕ НРЙПШРНЕ ЯНЕДХМЕМХЕ.

Пример 1. оПХЛЕП ХЯОНКЭГНБЮМХЪ mysql_get_proto_info()

<?php
    mysql_connect
("localhost", "mysql_user", "mysql_password") or
        die(
"Could not connect: " . mysql_error());
    
printf ("MySQL protocol version: %s\n", mysql_get_proto_info());
?>

бШЬЕНОХЯЮММШИ ОПХЛЕП БШДЮЯР ЯКЕДСЧЫХИ ПЕГСКЭРЮР:

MySQL protocol version: 10

яЛ. РЮЙФЕ mysql_get_client_info(), mysql_get_host_info() Х mysql_get_server_info().


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ