planktoscope/pipeline/pump.php
2019-12-10 22:29:42 -08:00

9 lines
225 B
PHP

<?php
$volume = $_REQUEST["volume"];
$flowrate = $_REQUEST["flowrate"];
$direction = $_REQUEST["direction"];
$output = shell_exec('/usr/bin/python3 /var/www/html/pipeline/pump.py '.$volume.' '.$flowrate.' '.$direction);
?>