Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
phpmyadmin /
vendor /
slim /
psr7 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Factory
[ DIR ]
drwxr-xr-x
Interfaces
[ DIR ]
drwxr-xr-x
Cookies.php
5.27
KB
-rw-r--r--
Environment.php
1.51
KB
-rw-r--r--
Header.php
1.9
KB
-rw-r--r--
Headers.php
8.68
KB
-rw-r--r--
Message.php
3.8
KB
-rw-r--r--
NonBufferedBody.php
2.45
KB
-rw-r--r--
Request.php
8.38
KB
-rw-r--r--
Response.php
8.5
KB
-rw-r--r--
Stream.php
8.98
KB
-rw-r--r--
UploadedFile.php
8.34
KB
-rw-r--r--
Uri.php
11.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Header.php
<?php /** * Slim Framework (https://slimframework.com) * * @license https://github.com/slimphp/Slim-Psr7/blob/master/LICENSE.md (MIT License) */ declare(strict_types=1); namespace Slim\Psr7; use InvalidArgumentException; use function array_merge; use function is_array; use function is_string; class Header { /** * @var string */ private $originalName; /** * @var string */ private $normalizedName; /** * @var array */ private $values; /** * Header constructor. * * @param string $originalName * @param string $normalizedName * @param array $values */ public function __construct(string $originalName, string $normalizedName, array $values) { $this->originalName = $originalName; $this->normalizedName = $normalizedName; $this->values = $values; } /** * @return string */ public function getOriginalName(): string { return $this->originalName; } /** * @return string */ public function getNormalizedName(): string { return $this->normalizedName; } /** * @param string $value * * @return self */ public function addValue(string $value): self { $this->values[] = $value; return $this; } /** * @param array|string $values * * @return self */ public function addValues($values): self { if (is_string($values)) { return $this->addValue($values); } if (!is_array($values)) { throw new InvalidArgumentException('Parameter 1 of Header::addValues() should be a string or an array.'); } $this->values = array_merge($this->values, $values); return $this; } /** * @return array */ public function getValues(): array { return $this->values; } }
Close