403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.217.83
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/mitzvahm/public_html/_scripts/html_parser/testcase/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mitzvahm/public_html/_scripts/html_parser/testcase/slick_test.php
<?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>';
?>

Youez - 2016 - github.com/yon3zu
LinuXploit