GlisWeb framework
_sessione.php
Vai alla documentazione di questo file.
1 <?php
2 
14  // inclusione del framework
15  require '../../../_src/_config.php';
16 
17  // ordinamento degli array per la scrittura
18  rksort( $_SESSION );
19 
20  // nascondo le password
21  array_walk_recursive( $_SESSION, function( &$v, $k ) { if( $k === 'password' || $k === 'private' || $k === 'key' ) { $v = '***'; } } );
22 
23  // array $_SESSION
24  $tx = print_r( $_SESSION, true );
25 
26  // output
27  build( $tx );
28 
29 ?>
$tx
Definition: _sessione.php:24
rksort(&$array)
if(isset( $_REQUEST['amazonCheckoutSessionId'])) $_SESSION['carrello']
build( $content, $type=MIME_TEXT_PLAIN, $encoding=ENCODING_UTF8, $headers=array())