Switch to: V11V10V9V8V7V6V5

valentina_get_server_info()

Declaration

string valentina_get_server_info ( [resource link_identifier] )

Parameters

Name Description
link_identifierThe VServer connection. If the link identifier is not specified, the last link opened by valentina_connect() is assumed. If by chance no connection is found, an E_WARNING level warning is generated.

Description

Retrieves Valentina server version.

Return Values

Returns Valentina server version on success, or FALSE on failure.

Examples

Example 1.

<?php
$link = valentina_connect('localhost', 'val_user', 'val_password');
if (!$link) {
   die('Could not connect: ' . valentina_error());
}
printf("Valentina server version: %s\n", valentina_get_server_info());
?> 

See Also