GlisWeb framework
_mssql.php
Vai alla documentazione di questo file.
1 <?php
2 
15  // inclusione del framework
16  require '../../../_src/_config.php';
17 
18  // debug
19  $tx = 'prova MSSQL' . PHP_EOL . PHP_EOL;
20  //$tx .= file_get_contents( DIRECTORY_BASE . DIRECTORY_LOG . 'mssql.' . date('Y') . date('m') . '.log' );
21  $tx .= 'connessione: ' . print_r( $cf['mssql']['connection'], true ) . PHP_EOL;
22  $tx .= 'risultato: ' . print_r( mssqlCachedQuery( $cf['memcache']['connection'], $cf['mssql']['connection'], 'SELECT id,nome FROM utenti' ), true ) . PHP_EOL;
23 
24  // output
25  build( $tx );
26 
27  // debug
28  // var_dump( $cf['mssql']['connection'] );
29 
30 ?>
$cf['ricerca']['template']
Definition: _030.common.php:7
$tx
Definition: _mssql.php:19
mssqlCachedQuery( $m, $c, $q, $p=false, $t=MEMCACHE_DEFAULT_TTL, &$e=array())
build( $content, $type=MIME_TEXT_PLAIN, $encoding=ENCODING_UTF8, $headers=array())