Query: sqlsrv_client_info
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SQLSRV_CLIENT_INFO(3) SQLSRV_CLIENT_INFO(3) sqlsrv_client_info - Returns information about the client and specified connectionSYNOPSISarray sqlsrv_client_info (resource $conn)DESCRIPTIONReturns information about the client and specified connectionPARAMETERSo $conn - The connection about which information is returned.RETURN VALUESReturns an associative array with keys described in the table below. Returns FALSE otherwise. Array returned by sqlsrv_client_info +--------------+-------------------------------------------------+ | Key | | | | | | | Description | | | | +--------------+-------------------------------------------------+ |DriverDllName | | | | | | | SQLNCLI10.DLL | | | | |DriverODBCVer | | | | | | | ODBC version (xx.yy) | | | | | DriverVer | | | | | | | SQL Server Native Client DLL version (10.5.xxx) | | | | |ExtensionVer | | | | | | | php_sqlsrv.dll version (2.0.xxx.x) | | | | +--------------+-------------------------------------------------+EXAMPLESExample #1 sqlsrv_client_info(3) example <?php $serverName = "serverNamesqlexpress"; $connOptions = array("UID"=>"username", "PWD"=>"password"); $conn = sqlsrv_connect( $serverName, $connOptions ); if( $conn === false ) { die( print_r( sqlsrv_errors(), true)); } if( $client_info = sqlsrv_client_info( $conn)) { foreach( $client_info as $key => $value) { echo $key.": ".$value."<br />"; } } else { echo "Error in retrieving client info.<br />"; } ?>SEE ALSOsqlsrv_server_info(3). PHP Documentation Group SQLSRV_CLIENT_INFO(3)
Related Man Pages |
---|
sqlsrv_cancel(3) - php |
sqlsrv_commit(3) - php |
sqlsrv_errors(3) - php |
sqlsrv_free_stmt(3) - php |
sqlsrv_rows_affected(3) - php |
Similar Topics in the Unix Linux Community |
---|
How to create .SO file (DLL) |
Bkdr_feebs.oc |
Troj_dloader.drr |
Troj_small.eai |
Troj_dloader.xvk |