このようなphpスクリプトがあります。これは、ボタンをクリックしてもスクリプトを実行したり、何も出力したりしません。それを行う方法また、php 101オンラインへのポインターがある場合はお知らせください
<?php
if ($_GET['run']) {
# This code will run if ?run=true is set.
ob_start();
passthru("./check_ddts.sh ".escapeshellarg($_POST["CSCui21515"]));
$data = ob_get_clean();
}
?>
<!-- This link will add ?run=true to your URL, myfilename.php?run=true -->
<button type="button" onclick="?run=true">Click Me!</button>