2023-12-26 11:16:24 +01:00
|
|
|
|
<?php
|
|
|
|
|
|
2023-12-31 20:37:03 +01:00
|
|
|
|
require __DIR__.'/getiniarr.php';
|
2023-12-26 11:16:24 +01:00
|
|
|
|
|
|
|
|
|
$link=mysqli_connect($iniarr['db_host'],$iniarr['db_admin_name'],$iniarr['db_admin_password'],$iniarr['db_name'],$iniarr['db_port'],$iniarr['db_socket'])
|
|
|
|
|
or muoribene('Couldn’t connect to database: '.mysqli_connect_error().' ['.mysqli_connect_errno().']',false);
|
|
|
|
|
mysqli_set_charset($link,'utf8mb4');
|
|
|
|
|
|
|
|
|
|
?>
|