404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.40.81: ~ $
<?php
// $Rev: 175 $
error_reporting(E_ALL);

function quick_test($html_dom, $str, $selector, $params=array('inner'=>'', 'plain'=>'', 'outer'=>'')) {
    $html_dom->load($str);
    $e = $html_dom->find($selector, 0);
    if (isset($params['inner']))
        assert($e->innertext===$params['inner']);
    if (isset($params['plain']))
        assert($e->plaintext===$params['plain']);
    if (isset($params['outer']))
        assert($e->outertext===$params['outer']);
    assert($html_dom==$str);
}

foreach (new DirectoryIterator(getcwd()) as $entry) {
    if ($entry->isFile() && strpos($entry, '_testcase.')>0) {
        echo basename($entry);
        require_once($entry);
        echo '<br>...pass!<br><br>';
    }
}
?>

Filemanager

Name Type Size Permission Actions
.svn Folder 0755
html Folder 0755
reader Folder 0755
all_test.php File 745 B 0644
callback_testcase.php File 1.8 KB 0644
dom_testcase.php File 11.4 KB 0644
element_testcase.php File 8.21 KB 0644
invalid_testcase.php File 18.25 KB 0644
jquery-1.2.3.pack.js File 29.15 KB 0644
mass_test.php File 2.98 KB 0644
memory_test.php File 4.61 KB 0644
misc_testcase.php File 1.81 KB 0644
performance_test.php File 792 B 0644
selector_testcase.php File 21.33 KB 0644
slick_test.php File 892 B 0644
slickspeed.htm File 113.89 KB 0644
std_testcase.php File 6.67 KB 0644
strip_testcase.php File 4.34 KB 0644