Trying to display my results progressively, as it would be displayed in CMD. (ie: line by line)
Not even sure where to start?
<?php
$ip = "8.8.8.8";
exec("tracert -d ".$ip." && exit", $output);
foreach($output as $out){
echo $out;
echo '<br>';
}
?>
Any assistance would be appreciated