13 lines
292 B
PHP
13 lines
292 B
PHP
<?php
|
|
$command="python api_core.py";
|
|
if($_GET['stamp']!=""){
|
|
$command=$command." --stamp ".strval($_GET['stamp'])." ";
|
|
}
|
|
if($_GET['lon']!=""){
|
|
$command=$command." --lon ".$_GET['lon']." ";
|
|
}
|
|
if($_GET['zone']!=""){
|
|
$command=$command." --zone ".$_GET['zone']." ";
|
|
}
|
|
@os.system($command);
|
|
?>
|