1 changed files with 5 additions and 9 deletions
@ -1,11 +1,7 @@ |
|||||||
<?php |
<?php |
||||||
$PARAM_hote='localhost'; |
$hote='localhost'; |
||||||
$PARAM_port='3306'; |
$port='3306'; |
||||||
$PARAM_nom_bd='vpn'; |
$bd='vpn'; |
||||||
$PARAM_utilisateur='user'; |
$utilisateur='user'; |
||||||
$PARAM_mot_passe="password"; |
$mdp='password'; |
||||||
|
|
||||||
|
|
||||||
$pdo_options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION; |
|
||||||
$bdd = new PDO('mysql:host='.$PARAM_hote.';port='.$PARAM_port.';dbname='.$PARAM_nom_bd, $PARAM_utilisateur, $PARAM_mot_passe, $pdo_options); |
|
||||||
?> |
?> |
||||||
|
Loading…
Reference in new issue