4 lines
248 B
PHP
4 lines
248 B
PHP
<?php
|
|
$output = shell_exec('curl -s "http://randio.it:8000" | sed "s/tr>/\n/g" | grep -i listeners | sed "s/<td>//g" | sed "s/<\/td>//g" | sed "s/<td class=\"streamstats\">//g" | sed "s/<\///g" | grep current | cut -d ":" -f 2');
|
|
echo $output
|
|
?>
|