provide empty location

This commit is contained in:
Walter Hupfeld 2024-03-14 09:49:58 +01:00
parent 589d9127df
commit 1e24715598
2 changed files with 10 additions and 1 deletions

View File

@ -127,4 +127,8 @@ Export von Shape-Files
## Improvements
* Rating durch Cookie absichern, so dass nicht zwei mal während einer Sitzung ein Maker betätigt werden kann.
* Alert nach Rating überarbeiten (z.B. mit Bootstrap)
* Alert nach Rating überarbeiten (z.B. mit Bootstrap)
## Probleme
Ohne favicon.ico verliert Chrome die Session.

View File

@ -18,6 +18,11 @@ $numLat = $_POST['lat'];
$strDistrict = $_POST['district'];
$boolUploadOk=false;
//Leere Einträge verhindern
if (empty($strUsername) || empty($numLng) || empty($numLat)) {
die("not valid!");
}
if ($boolUpload && !empty($_FILES['uploadfile']['name'])) {
$uploadfile = $uploaddir . basename($_FILES['uploadfile']['name']);
$fileinfo = @getimagesize($_FILES["uploadfile"]["tmp_name"]);