Skip to content
Snippets Groups Projects
Commit 4f80f6a0 authored by David Cazier's avatar David Cazier
Browse files

authentification

parent d4ffb441
Branches
1 merge request!3Master
<?php
include('../config.php');
function connexion()
{
$pdo = new PDO('mysql:host=base.iha.unistra.fr;dbname='.LOGIN.'_fresques;charset=utf8', LOGIN, PASSWORD);
$pdo = new PDO('mysql:host=base.iha.unistra.fr;dbname=LOGIN_fresques;charset=utf8', LOGIN, PASSWORD);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
if ($pdo) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment