GET USER".
"
usuario =".$_SESSION['phpgw_info']['expressomail']['user']['userid'].
"
senha =".$_SESSION['phpgw_info']['expressomail']['user']['passwd'];
}
function verify_user($params){
$userId = $params['userid'];
$delay = $params['delay'];
if($delay)
sleep($delay);
$result = '';
if($userId == $_SESSION['phpgw_info']['expressomail']['user']['userid'])
$result = '
VERIFY USER ... VERIFIED';
else
$result = '
VERIFY USER ... NOT VERIFIED';
return $result;
}
function verify_user_get($params){
return $params;
}
function verify_user_post($params){
return $this -> verify_user($params);
}
function get_email(){
return $_SESSION['phpgw_info']['expressomail']['user']['email'];
}
}
?>