leite weiter auf /login/"; header("HTTP/1.1 307 Temporary Redirect"); header ("Location: /login/"); exit(0); }; # if ( $MobilePhoneStatus != 1 || !isset($MobilePhone) ) { $MobilePhonePre = deleteSqlChars($_REQUEST["prenumber"]); $MobilePhoneAft = deleteSqlChars($_REQUEST["mobilephone"]); $MobilePhoneStatusPre = checkInput($MobilePhonePre, "I", 3, 5 ); $MobilePhoneStatusAft = checkInput($MobilePhoneAft, "I", 4, 12 ); $MobilePhoneTo = $MobilePhonePre . $MobilePhoneAft; $MobilePhoneCountry = classifyVorwahlByPhoneNumber($MobilePhoneTo); $MobilePhoneTo = substr($MobilePhoneTo, 1, strlen($MobilePhoneTo) ); $MobilePhoneTo = $MobilePhoneCountry . $MobilePhoneTo; $error = ""; if ( $MobilePhoneStatusPre == 1 && $MobilePhoneStatusAft == 1 && strlen($MobilePhoneCountry) == 4 ){ check_accessed_times( SECURITY_ACCESS_PATH, MAXTELLAFRIENDREQUESTPERDAY); # security.inc.php $StatusCode = SendTellAFriendMessage( $MobilePhoneTo, $MobilePhoneOfSender ); # sms.inc.php if ( $StatusCode == 100 ) { $error = formatErrorMessage("Benachrichtigung verschickt!"); }; TellAFriendPage($MobilePhoneOfSender, $error); LogTellAFriend( $MobilePhoneOfSender, $MobilePhoneTo, $StatusCode ); # logging.inc.php exit(0); ## } elseif ( $MobilePhoneStatus != 1 ) { ## ## $error = formatErrorMessage("Mobilfunknummer $MobilePhone ist ungültig!"); ## TellAFriendPage($error); ## exit(0); } else { TellAFriendPage($MobilePhoneOfSender); exit(0); }; exit(0); ?>