404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.15.34.191: ~ $
<?php
// $Rev: 133 $
error_reporting(E_ALL);
include_once('../simple_html_dom.php');

$start = microtime();
list($bu, $bs) = explode(' ', $start);
$html = file_get_html('slickspeed.htm');
list($eu, $es) = explode(' ', microtime());
echo sprintf('parse (%.1f)', ((float)$eu+(float)$es-(float)$bu-(float)$bs)*1000).'<br><br>';

assert(count($html->find('#title'))==1);
assert(count($html->find('div'))==51);
assert(count($html->find('div[class]'))==51);
assert(count($html->find('div.example'))==43);
assert(count($html->find('div[class=example]'))==43);
assert(count($html->find('.note'))==14);

assert(count($html->find('div[class^=exa]'))==43);
assert(count($html->find('div[class$=mple]'))==43);
assert(count($html->find('div[class*=e]'))==50);
assert(count($html->find('div[class!=made_up]'))==51);

assert(count($html->find('p'))==324);

echo 'All pass!<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