当前位置: 首页>>代码示例>>PHP>>正文


PHP htmlSendToLogin函数代码示例

本文整理汇总了PHP中htmlSendToLogin函数的典型用法代码示例。如果您正苦于以下问题:PHP htmlSendToLogin函数的具体用法?PHP htmlSendToLogin怎么用?PHP htmlSendToLogin使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了htmlSendToLogin函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: chdir

<?php

chdir('../../../');
require_once 'challenge/html_head.php';
define('GWF_PAGE_TITLE', 'PHP 0819');
$title = GWF_PAGE_TITLE;
html_head("Install: {$title}");
if (!GWF_User::isAdminS()) {
    return htmlSendToLogin('Better be admin!');
}
$solution = false;
$score = 2;
$url = 'challenge/space/php0819/index.php';
$creators = 'space';
$tags = 'PHP';
WC_Challenge::installChallenge($title, $solution, $score, $url, $creators, $tags, true);
require_once 'challenge/html_foot.php';
开发者ID:sinfocol,项目名称:gwf3,代码行数:17,代码来源:install.php

示例2: chdir

<?php

require_once 'settings.php';
require_once 'vuln.php';
chdir("../../../");
require_once "challenge/html_head.php";
$title = 'Light in the Darkness';
html_head("Install: {$title}");
if (!GWF_User::isAdminS()) {
    return htmlSendToLogin("Better be admin !");
}
$solution = false;
$score = 6;
$url = "challenge/Mawekl/light_in_the_darkness/index.php";
$creators = "Mawekl";
$tags = 'MySQL,Exploit';
if (false === blightInstall()) {
    die('DB ERROR!');
}
WC_Challenge::installChallenge($title, $solution, $score, $url, $creators, $tags, true);
require_once "challenge/html_foot.php";
开发者ID:sinfocol,项目名称:gwf3,代码行数:21,代码来源:install.php

示例3: chdir

<?php

chdir('../../../');
require_once "challenge/html_head.php";
$title = 'Stalking';
html_head("Install: {$title}");
if (!GWF_User::isAdminS()) {
    return htmlSendToLogin("If you don´t know me by now! You will never never know me!");
}
$solution = false;
$score = 10;
$url = "challenge/identity/stalking/index.php";
$creators = "gizmore";
$tags = 'Realistic,Research';
WC_Challenge::installChallenge($title, $solution, $score, $url, $creators, $tags, true);
require_once "challenge/html_foot.php";
开发者ID:sinfocol,项目名称:gwf3,代码行数:16,代码来源:install.php


注:本文中的htmlSendToLogin函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。