2019-12-11 06:51:01 +01:00
|
|
|
<?php
|
|
|
|
$volume = $_REQUEST["volume"];
|
|
|
|
$flowrate = $_REQUEST["flowrate"];
|
|
|
|
$direction = $_REQUEST["direction"];
|
|
|
|
|
|
|
|
|
2019-12-11 07:29:42 +01:00
|
|
|
$output = shell_exec('/usr/bin/python3 /var/www/html/pipeline/pump.py '.$volume.' '.$flowrate.' '.$direction);
|
2019-12-11 06:51:01 +01:00
|
|
|
?>
|