ң

mysql_get_proto_info

(PHP 4 >= 4.0.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"); 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() .


ң
mysql_get_host_info mysql_get_server_info