Initial commit

This commit is contained in:
ldy
2025-06-06 17:14:52 +08:00
parent 0465a9baef
commit f0aabfb5ac
91 changed files with 4466 additions and 0 deletions

15
indexes/ConnectDB.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
$servername = "localhost"; // if use uic server, change to stuweb.bcrab.cn
$username = "swdw"; // change to your account
$password = "MbMXJSxXZbzJ3aZc"; // change to your account
$db = "swdw"; // change to your database name
// Create connection
$conn = new mysqli($servername, $username, $password, $db);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
//echo "Connected successfully";
?>