summaryrefslogtreecommitdiff
path: root/IUT_auth_my.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'IUT_auth_my.inc.php')
-rw-r--r--IUT_auth_my.inc.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/IUT_auth_my.inc.php b/IUT_auth_my.inc.php
new file mode 100644
index 0000000..1fb5ae6
--- /dev/null
+++ b/IUT_auth_my.inc.php
@@ -0,0 +1,16 @@
+<?php
+
+function mysql_conn_select_db()
+ {
+ $mysql_host='localhost';
+ $mysql_user='258';
+ $mysql_pass='ess_ku_elle';
+ $mysql_base='258_tests';
+
+ $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);
+}
+?>