diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:01:33 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:01:33 +0200 |
commit | 30238f5847b418645983a4efddb13f087c99e585 (patch) | |
tree | 0cec8e6d657bbecab865f75a5c3f8bffc369b47f /auth_my.inc.php | |
parent | 052fe50e28a53c3ece30c2ad1090f313b3bb7337 (diff) | |
download | 2007-AWOR-30238f5847b418645983a4efddb13f087c99e585.tar.gz 2007-AWOR-30238f5847b418645983a4efddb13f087c99e585.tar.bz2 2007-AWOR-30238f5847b418645983a4efddb13f087c99e585.zip |
Premiers tests 2007-01-02+20:01:04 - 2007-02-02+16:43:14
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); +} +?> |