!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/lampp/lib/php/HTML/Template/PHPLIB/   drwxr-xr-x
Free 11.88 GB of 61.93 GB (19.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Helper.php (1.99 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Additional tools for HTML_Template_PHPLIB
 *
 * PHP Versions 4 and 5
 *
 * @category HTML
 * @package  HTML_Template_PHPLIB
 * @author   Christian Weiske <cweiske@php.net>
 * @license  http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
 * @version  CVS: $Id$
 * @link     http://pear.php.net/package/HTML_Template_PHPLIB
 */

/**
* Helper methods for the HTML_Template_PHPLIB tool
*
* @category HTML
* @package  HTML_Template_PHPLIB
* @author   Christian Weiske <cweiske@php.net>
* @license  http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
* @link     http://pear.php.net/package/HTML_Template_PHPLIB
*/
class HTML_Template_PHPLIB_Helper
{

    
/**
    * Returns an array with all lines of the text.
    * Extracts it from the file or the text
    *
    * @param string $strFile    File name
    * @param string $strContent Template code
    *
    * @return array Array with text lines, without trailing newlines,
    *                false when both are null
    *
    * @static
    */
    
function getLines($strFile null$strContent null)
    {
        if (
$strContent !== null) {
            
$arLines HTML_Template_PHPLIB_Helper::splitLines($strContent);
        } else if (
$strFile !== null) {
            
$arLines file($strFileFILE_IGNORE_NEW_LINES);
        } else {
            
//all null?
            
return false;
        }

        return 
$arLines;
    }
//function getLines($strFile = null, $strContent = null)



    /**
    * Splits the content into single lines and returns
    *  the array.
    * Similar to file(), but works directly on the content
    *  instead of the file name.
    *
    * @param string $strContent File content to be split into lines
    *
    * @return array Array of line strings without trailing newlines
    *
    * @static
    */
    
function splitLines($strContent)
    {
        return 
explode(
            
"\n"str_replace(array("\r\n""\r"), "\n"$strContent)
        );
    }
//function splitLines($strContent)

}//class HTML_Template_PHPLIB_Helper

?>

:: 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.5324 ]--