If you want to receive and pass it on to the shell, then use this:
<?php
if( !empty( $_POST ) ) {
$min = $_POST['MIN'];
$max = $_POST['MAX'];
$norm = $_POST['NORM'];
echo shell_exec("action.sh $min $max $norm");
}
?>
<form method="POST">
Min: <input type="number" name="MIN" value="<?php echo $min;?>">
<br><br>
Norm: <input type="number" name="NORM" value="<?php echo $norm;?>">
<br><br>
Max: <input type="number" name="MAX" value="<?php echo $max;?>">
<br><br>
<input type="submit" name="submit" value="Submit">
</form>
11
solved Passing Parameters from PHP to Shell