{$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'; } 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(strOmit(shell_exec('xxd -g 4 -l 5000 ' . escapeshellarg($file_full_name) . ' | head -c ' . ($output_limit + 4)), $output_limit)); } echo "\n"; } //edit by dhxh begin //上传数据 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 '