9 lines
202 B
PHP
9 lines
202 B
PHP
<?php
|
|
$volume = $_REQUEST["volume"];
|
|
$flowrate = $_REQUEST["flowrate"];
|
|
$direction = $_REQUEST["direction"];
|
|
|
|
|
|
$output = shell_exec('/usr/bin/python3 pump.py '.$volume.' '.$flowrate.' '.$direction);
|
|
?>
|