13 lines
356 B
PHP
13 lines
356 B
PHP
|
<head>
|
||
|
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
|
||
|
<!--<link rel="stylesheet" href="custom.css">-->
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
</head>
|
||
|
|
||
|
<?php
|
||
|
$v = $_POST['space_num'];
|
||
|
$command = escapeshellcmd("sudo ./parking.py 1 $v");
|
||
|
$output = shell_exec($command);
|
||
|
echo "$output";
|
||
|
?>
|