!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/guzzle/guzzle/guzzle/src/Guzzle/Http/Message/Header/   drwxr-xr-x
Free 13.8 GB of 61.93 GB (22.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     CacheControl.php (2.74 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Guzzle\Http\Message\Header;

use 
Guzzle\Http\Message\Header;

/**
 * Provides helpful functionality for Cache-Control headers
 */
class CacheControl extends Header
{
    
/** @var array */
    
protected $directives;

    public function 
add($value)
    {
        
parent::add($value);
        
$this->directives null;
    }

    public function 
removeValue($searchValue)
    {
        
parent::removeValue($searchValue);
        
$this->directives null;
    }

    
/**
     * Check if a specific cache control directive exists
     *
     * @param string $param Directive to retrieve
     *
     * @return bool
     */
    
public function hasDirective($param)
    {
        
$directives $this->getDirectives();

        return isset(
$directives[$param]);
    }

    
/**
     * Get a specific cache control directive
     *
     * @param string $param Directive to retrieve
     *
     * @return string|bool|null
     */
    
public function getDirective($param)
    {
        
$directives $this->getDirectives();

        return isset(
$directives[$param]) ? $directives[$param] : null;
    }

    
/**
     * Add a cache control directive
     *
     * @param string $param Directive to add
     * @param string $value Value to set
     *
     * @return self
     */
    
public function addDirective($param$value)
    {
        
$directives $this->getDirectives();
        
$directives[$param] = $value;
        
$this->updateFromDirectives($directives);

        return 
$this;
    }

    
/**
     * Remove a cache control directive by name
     *
     * @param string $param Directive to remove
     *
     * @return self
     */
    
public function removeDirective($param)
    {
        
$directives $this->getDirectives();
        unset(
$directives[$param]);
        
$this->updateFromDirectives($directives);

        return 
$this;
    }

    
/**
     * Get an associative array of cache control directives
     *
     * @return array
     */
    
public function getDirectives()
    {
        if (
$this->directives === null) {
            
$this->directives = array();
            foreach (
$this->parseParams() as $collection) {
                foreach (
$collection as $key => $value) {
                    
$this->directives[$key] = $value === '' true $value;
                }
            }
        }

        return 
$this->directives;
    }

    
/**
     * Updates the header value based on the parsed directives
     *
     * @param array $directives Array of cache control directives
     */
    
protected function updateFromDirectives(array $directives)
    {
        
$this->directives $directives;
        
$this->values = array();

        foreach (
$directives as $key => $value) {
            
$this->values[] = $value === true $key "{$key}={$value}";
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4759 ]--