🗂️ File Manager Pro
🖥️ Tipo de Hospedagem:
Vps
📁 Diretório Raiz:
/home
🌐 Servidor:
www.apm-abl.com
👤 Usuário:
apmablcosr
🔐 Sessão:
🔑 Credenciais:
adm_a4f93500 / 6fce****
📍 Localização Atual:
home
Caminho completo: /home
📤 Enviar Arquivo
📁 Nova Pasta
⬆️ Voltar
🏠 Raiz
🗑️ DELETAR
📦 ZIPAR/DEZIPAR
Status
Nome
Tamanho
Modificado
Permissões
Ações
📁 a
-
03/02/2026 22:15
0755
✏️
📁 apmablcosr
-
26/01/2026 16:35
0705
✏️
🗑️
Editando: wpvivid-backuprestore.tar
vendor/ralouphie/getallheaders/composer.json 0000644 00000000572 15136114153 0015363 0 ustar 00 { "name": "ralouphie/getallheaders", "description": "A polyfill for getallheaders.", "license": "MIT", "authors": [ { "name": "Ralph Khattar", "email": "ralph.khattar@gmail.com" } ], "require": { "php": ">=5.3" }, "require-dev": { "phpunit/phpunit": "~3.7.0", "satooshi/php-coveralls": ">=1.0" }, "autoload": { "files": ["src/getallheaders.php"] } } vendor/ralouphie/getallheaders/README.md 0000644 00000001714 15136114153 0014117 0 ustar 00 getallheaders ============= PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3. [](https://travis-ci.org/ralouphie/getallheaders) [](https://coveralls.io/r/ralouphie/getallheaders?branch=master) [](https://packagist.org/packages/ralouphie/getallheaders) [](https://packagist.org/packages/ralouphie/getallheaders) [](https://packagist.org/packages/ralouphie/getallheaders) This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php). ## Install ``` composer require ralouphie/getallheaders ``` vendor/ralouphie/getallheaders/.gitignore 0000644 00000000065 15136114153 0014626 0 ustar 00 .idea .DS_store /vendor/ composer.phar composer.lock vendor/ralouphie/getallheaders/src/getallheaders.php 0000644 00000003150 15136114153 0016740 0 ustar 00 <?php if (!function_exists('getallheaders')) { /** * Get all HTTP header key/values as an associative array for the current request. * * @return string[string] The HTTP header key/value pairs. */ function getallheaders() { $headers = array(); $copy_server = array( 'CONTENT_TYPE' => 'Content-Type', 'CONTENT_LENGTH' => 'Content-Length', 'CONTENT_MD5' => 'Content-Md5', ); foreach ($_SERVER as $key => $value) { if (substr($key, 0, 5) === 'HTTP_') { $key = substr($key, 5); if (!isset($copy_server[$key]) || !isset($_SERVER[$key])) { $key = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $key)))); $headers[$key] = $value; } } elseif (isset($copy_server[$key])) { $headers[$copy_server[$key]] = $value; } } if (!isset($headers['Authorization'])) { if (isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION'])) { $headers['Authorization'] = $_SERVER['REDIRECT_HTTP_AUTHORIZATION']; } elseif (isset($_SERVER['PHP_AUTH_USER'])) { $basic_pass = isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : ''; $headers['Authorization'] = 'Basic ' . base64_encode($_SERVER['PHP_AUTH_USER'] . ':' . $basic_pass); } elseif (isset($_SERVER['PHP_AUTH_DIGEST'])) { $headers['Authorization'] = $_SERVER['PHP_AUTH_DIGEST']; } } return $headers; } } vendor/ralouphie/getallheaders/phpunit.xml 0000644 00000000641 15136114153 0015047 0 ustar 00 <phpunit bootstrap="vendor/autoload.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" strict="true"> <testsuite> <directory>./tests</directory> </testsuite> <filter> <whitelist> <directory suffix=".php">src</directory> </whitelist> </filter> <logging> <log type="coverage-clover" target="build/logs/clover.xml"/> </logging> </phpunit>