!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/test/Pager/tests/   drwxr-xr-x
Free 13.65 GB of 61.93 GB (22.04%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     pager_post_test.php (2.2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: pager_post_test.php,v 1.1 2006/02/20 22:44:47 quipo Exp $

require_once 'simple_include.php';
require_once 
'pager_include.php';

class 
TestOfPagerPOST extends WebTestCase {
    var 
$pager;
    var 
$baseurl;
    var 
$options = array();

    function 
TestOfPagerPOST($name='Test of Pager with httpMethod="POST"') {
        
$this->WebTestCase($name);
    }
    function 
setUp() {
        
$this->options = array(
            
'itemData' => array(12345678910),
            
'perPage'  => 1,
            
'clearIfVoid' => false,
            
'httpMethod' => 'POST',
        );
        
//$this->pager = Pager::factory($this->options);
        
$this->baseurl 'http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0strrpos($_SERVER['PHP_SELF'], '/'));
    }
    function 
tearDown() {
        unset(
$this->pager);
    }

    function 
testMultibyteEncoded() {
        
$test_strings_encoded = array(
            
'encoded1' => '&#27979;&#35797;',
            
'encoded2' => '&#50504;&#45397;',
        );
        
$loaded $this->get($this->baseurl.'/multibyte_post.php');
        
$this->assertTrue($loaded);
        
$this->assertResponse(200);
        
$this->assertTitle('Pager Test: page 1');
        
$this->assertNoLink('1');
        
$this->assertLink('2');
        
$this->assertLink('Next >>');
        
//$this->showSource();
        
foreach ($test_strings_encoded as $name => $value) {
            
$this->assertWantedPattern('/'.$name.'.*'.preg_quote(str_replace('&''&amp;'$value)).'/Uims');
        }
    }

    function 
testMultibytePlain() {
        
$test_strings_plain = array(
            
'plain1' => '안녕',
            
'plain2' => '더보기',
//            'plain3' => '이젠 전화도
//로 걸면 무료',
        
);
        
$loaded $this->get($this->baseurl.'/multibyte_post.php');
        
$this->assertTrue($loaded);
        
$this->assertResponse(200);
        
$this->assertTitle('Pager Test: page 1');
        
$this->assertNoLink('1');
        
$this->assertLink('2');
        
$this->assertLink('Next >>');
        
//$this->showSource();
        
foreach ($test_strings_plain as $name => $value) {
            
$this->assertWantedPattern('/'.$name.'.*'.preg_quote(urlencode($value)).'/Uims');
        }
    }
}
?>

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