<?php
//Use simple html dom
include('simple_html_dom.php');
// Create DOM from URL or file
$html = file_get_html('www.hltv.org/matches/');
//Grab hot matches
$ret = $html->find('div[class=frontpagelink shorten]');
// output it
echo $ret->save();
Warning: include(): open_basedir restriction in effect. File(simple_html_dom.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/UAYk0 on line 3
Warning: include(simple_html_dom.php): Failed to open stream: Operation not permitted in /in/UAYk0 on line 3
Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Uncaught Error: Call to undefined function file_get_html() in /in/UAYk0:6
Stack trace:
#0 {main}
thrown in /in/UAYk0 on line 6
Process exited with code 255.
Output for 8.0.13
Warning: include(simple_html_dom.php): Failed to open stream: No such file or directory in /in/UAYk0 on line 3
Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Uncaught Error: Call to undefined function file_get_html() in /in/UAYk0:6
Stack trace:
#0 {main}
thrown in /in/UAYk0 on line 6
Process exited with code 255.
Warning: include(simple_html_dom.php): failed to open stream: No such file or directory in /in/UAYk0 on line 3
Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Uncaught Error: Call to undefined function file_get_html() in /in/UAYk0:6
Stack trace:
#0 {main}
thrown in /in/UAYk0 on line 6
Process exited with code 255.
Warning: include(): open_basedir restriction in effect. File(simple_html_dom.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/UAYk0 on line 3
Warning: include(simple_html_dom.php): failed to open stream: Operation not permitted in /in/UAYk0 on line 3
Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Uncaught Error: Call to undefined function file_get_html() in /in/UAYk0:6
Stack trace:
#0 {main}
thrown in /in/UAYk0 on line 6
Process exited with code 255.
Output for 7.1.20, 7.2.6
Warning: include(): open_basedir restriction in effect. File(simple_html_dom.php) is not within the allowed path(s): (/tmp:/in) in /in/UAYk0 on line 3
Warning: include(simple_html_dom.php): failed to open stream: Operation not permitted in /in/UAYk0 on line 3
Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Uncaught Error: Call to undefined function file_get_html() in /in/UAYk0:6
Stack trace:
#0 {main}
thrown in /in/UAYk0 on line 6
Process exited with code 255.
Warning: include(simple_html_dom.php): failed to open stream: No such file or directory in /in/UAYk0 on line 3
Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Call to undefined function file_get_html() in /in/UAYk0 on line 6
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: main(simple_html_dom.php): failed to open stream: No such file or directory in /in/UAYk0 on line 3
Warning: main(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Call to undefined function file_get_html() in /in/UAYk0 on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: main(simple_html_dom.php): failed to open stream: No such file or directory in /in/UAYk0 on line 3
Warning: main(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Call to undefined function: file_get_html() in /in/UAYk0 on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Warning: main(simple_html_dom.php): failed to open stream: No such file or directory in /in/UAYk0 on line 3
Warning: main(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Call to undefined function: file_get_html() in /in/UAYk0 on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(simple_html_dom.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/UAYk0 on line 3
Warning: main() [http://www.php.net/function.main]: Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/UAYk0 on line 3
Fatal error: Call to undefined function: file_get_html() in /in/UAYk0 on line 6