exec.php
<?php
$command='ls -ltr';
$output=array();
$ret=null;
exec ( $command, $output, $ret );
//各行を<br>付きで出力する。
foreach ($output as $line){
print $line."<br>\n";
}
?>
Go to list of users who liked
More than 5 years have passed since last update.
<?php
$command='ls -ltr';
$output=array();
$ret=null;
exec ( $command, $output, $ret );
//各行を<br>付きで出力する。
foreach ($output as $line){
print $line."<br>\n";
}
?>
Register as a new user and use Qiita more conveniently
Go to list of users who liked