{$myUser['username']}您好,
您的SVN密码是:{$myUser['svn_password']}
{$oj_name}
EOD; $mailer = UOJMail::noreply(); $mailer->addAddress($myUser['email'], $myUser['username']); $mailer->Subject = "SVN密码"; $mailer->msgHTML($html); if ($mailer->send()) { echo 'good'; } else { error_log('PHPMailer: '.$mailer->ErrorInfo); } die(); } } $data_dir = "/var/uoj_data/${problem['id']}"; function echoFileNotFound($file_name) { echo '\n"; $output_limit = 1000; if (strStartWith($mimetype, 'text/')) { echo htmlspecialchars(uojFilePreview($file_full_name, $output_limit)); } else { echo htmlspecialchars(uojFilePreview($file_full_name, $output_limit, 'binary')); } echo "\n"; } //上传数据 if($_POST['problem_data_file_submit']=='submit'){ if ($_FILES["problem_data_file"]["error"] > 0){ $errmsg = "Error: ".$_FILES["problem_data_file"]["error"]; becomeMsgPage('
$esc_submission_requirement
$esc_extra_config
key | '; echo 'value | '; echo '
---|---|
', htmlspecialchars($key), ' | '; echo '', htmlspecialchars($info['val']), ' | '; echo '
', htmlspecialchars($key), ' | '; echo '', htmlspecialchars($info['val']), ' ', ' | '; echo '