sync to cloud, php enable

This commit is contained in:
2024-02-20 21:27:18 +01:00
parent a0e9ada744
commit c5a8e77e36
2 changed files with 27 additions and 5 deletions

17
www/lib/mysql_connect.php Normal file
View File

@@ -0,0 +1,17 @@
<?
//phpinfo();
$servername = "db";
$username = 'kalskeborec';
$password = 'Kalskeborec1!23$';
// Create connection
$conn = new mysqli($servername, $username, $password);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>