} switch ($command) { case "version": echo $multiotp->GetClassName() . " " . $multiotp->GetVersion() . " (" . $multiotp->GetDate() . ")" . $crlf; $result = 19; break; case "version-only": echo $multiotp->GetVersion(); $result = 19; break; case "php-version": echo 'PHP ' . phpversion() . $crlf; $result = 19; break; case "backup-config": $result = $multiotp->BackupConfiguration() ? 19 : 99; break; case "call-method": if (method_exists($multiotp, $call_method)) { $call_result = $multiotp->{$call_method}(); if ($multiotp->GetVerboseFlag()) { $multiotp->WriteLog('Debug: Method ' . $call_method . ' returned the following result: ' . print_r($call_result, TRUE), FALSE, FALSE, 19, 'Debug', ''); } $result = 19; } else { $result = 99; } break; case "check": $self_registration = ''; $otp_inline = '';