Primer Commit

This commit is contained in:
LuisAngelSalinasl
2025-08-04 18:51:41 -06:00
commit 8fcbb98114
8990 changed files with 1407288 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
$host = '92.204.136.83';
$db = 'hmngyportal_facturacion';
$user = 'hmngyportal_facturacion';
$pass = 'hmngyportal_facturacion';
$dsn = "mysql:host=$host;dbname=$db;charset=utf8mb4";
$options = [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_EMULATE_PREPARES => false,
];
try {
$pdo = new PDO($dsn, $user, $pass, $options);
} catch (\PDOException $e) {
die('Error de conexión a la base de datos: ' . $e->getMessage());
}
?>