<? class h863_global{ static function set_global( $key , $value ) { if ( $value == "" ) { $_SESSION [ $key ] = $value ; unset ( $_SESSION [ $key ]); setcookie ( $key , $value , time () - 9999 , " / " ); } else { session_start (); $_SESSION [ $key ] = $value ; setcookie ( $key , $value , 0 , " / " ); } } static function get_global( $key ) { if ( $_SESSION [ $key ] != "" ) { return $_SESSION [ $key ]; } if ( $_COOKIE [ $key ] != "" ) { return $_COOKIE [ $key ]; } return "" ; } static function isnon_global( $key ) { if ( $_SESSION [ $key ] != "" ) { return true ; } if ( $_COOKIE [ $key ] != "" ) { return true ; } return false ; }} ?>