Join Up!
104882 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousmysql_get_proto_infomysql_infonext
Last updated: Sun, 27 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Finnish | German | Spanish

mysql_get_server_info

(PHP 4 >= 4.0.5)

mysql_get_server_info -- Načte informace o serveru MySQL

Popis

int mysql_get_server_info ( [resource spojeni])

mysql_get_server_info() vrací verzi serveru v použitém spojeni. Pokud je spojeni vynecháno, použije se posledně otevřené spojení.

Příklad 1. mysql_get_server_info Příklad

<?php
    mysql_connect("localhost", "mysql_uziv", "mysql_heslo") or
        die("Nelze se spojit");
    printf ("Verze MySQL serveru: %s\n", mysql_get_server_info());
?>

Předchozí příklad by mohl mít následující výstup:

Verze MySQL serveru: 4.0.1-alpha

Dále také: mysql_get_client_info(), mysql_get_host_info() a mysql_get_proto_info().

User Contributed Notes
mysql_get_server_info
add a note about notes
There are no user contributed notes for this page.
previousmysql_get_proto_infomysql_infonext
Last updated: Sun, 27 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST