Upload files to "/"

This commit is contained in:
2026-06-04 12:12:31 +00:00
commit 694fd32a10
4 changed files with 958 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
$host = 'localhost';
$user = 'root';
$password = '';
$database = 'webgis';
$conn = new mysqli($host, $user, $password, $database);
if ($conn->connect_error) {
die(json_encode(['status' => 'error', 'msg' => 'Koneksi database gagal: ' . $conn->connect_error]));
}
// Set charset ke UTF-8
$conn->set_charset("utf8");
?>