Suppression des droits d'exécution des fichiers.
[auf_paf.git] / includes / connection.php
... / ...
CommitLineData
1<?php\r
2$dbhost = 'localhost';\r
3$dbuser = 'root';\r
4$dbpass = '';\r
5$dbname = 'pafauf_bdd';\r
6\r
7$conn = mysql_connect($dbhost, $dbuser, $dbpass,true) or die ('Erreur connexion au mysql');\r
8mysql_select_db($dbname,$conn);\r
9mysql_query("SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'", $conn);\r
10//mysql_set_charset('utf8', $conn) or die("Erreur : "). mysql_error();\r
11//echo"Successfully connected to server!!!";\r
12?>\r