diff options
Diffstat (limited to 'auth_my.inc.php')
-rw-r--r-- | auth_my.inc.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/auth_my.inc.php b/auth_my.inc.php new file mode 100644 index 0000000..f451755 --- /dev/null +++ b/auth_my.inc.php @@ -0,0 +1,16 @@ +<?php + +function mysql_conn_select_db() + { + $mysql_host='localhost'; + $mysql_user='lud_restricted'; + $mysql_pass='maille_ess_ku_elle'; + $mysql_base='intranet_projet'; + + $link = mysql_connect($mysql_host,$mysql_user,$mysql_pass) + or die('Erreur MySql : Impossible de se connecter : ' . mysql_error()); + mysql_select_db($mysql_base) or die('Erreur Mysql : Impossible de sélectionner la database'); + + return ($link); +} +?> |