File "conn.php"

Full Path: /home/analogde/www/MDPH/conn/conn.php
File size: 337 bytes
MIME-type: text/x-php
Charset: utf-8

<?php 

$servername = "localhost";
$username = "root";
$password = "";
$db = "file_manager_db";

try {
    $conn = new PDO("mysql:host=$servername;dbname=$db", $username, $password);
    $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
    echo "Failed " . $e->getMessage();
}

?>