Skip to content
Snippets Groups Projects
Commit d0b62bdf authored by llaffont's avatar llaffont
Browse files

correction adresse serveur mysql pour temps reel pergame

parent 9a2eb885
Branches
Tags
No related merge requests found
......@@ -84,7 +84,7 @@ if($statut == "busy") retour($statut,"Trop de connexions");
$nomBase=$_REQUEST["base"];
$user=$_REQUEST["user"];
$pwd=$_REQUEST["pass"];
$sql = mysql_connect("localhost", $user, $pwd);
$sql = mysql_connect("172.16.77.30", $user, $pwd);
if(!$sql) retour("sqlerror" ,"Impossible de se connecter a mysql");
if(! mysql_select_db($nomBase)) retour("sqlerror","Impossible de selectionner la base de donnees");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment