VPNkeyXchange-vxlan-test/index.php

11 lines
201 B
PHP

<?php
$lat = $_GET['lat'];
$lo = $_GET['long'];
if ((!is_numeric($lat)) || (!is_numeric($lo))) {exit("lat/long not numeric!");};
$hoodfile = shell_exec("./get_hood.sh $lat $lo");
echo $hoodfile;
?>