Notice: Undefined variable: pre in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 16

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 17

Notice: Use of undefined constant CLIENTGCM - assumed 'CLIENTGCM' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 18

Notice: Use of undefined constant BASICGCM - assumed 'BASICGCM' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 19

Notice: Use of undefined constant VERSIONGCM - assumed 'VERSIONGCM' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 20

Notice: Use of undefined constant URL_REWRITE - assumed 'URL_REWRITE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 21

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 26
"; //_____________________________________________PROFILE CSS $CSS_browser='IE'; $CSS_standard="standard_".$CSS_browser.".css";//nom du fichier css du site $CSS_second="main_SSmenus_".$CSS_browser.".css";//nom du 2 fichier css du site $CSS_adminname="ceiadmin_".$CSS_browser.".css";//nom du fichier css du module admin //_____________________________________________URL DU DOMAINE $DomaineName="www.rbsps.org"; $dir['URL_SITE']='http://www.rbsps.org'; //_____________________________________________info connection MYSQL $mysql_host="10.64.196.213";//serveur mysql $mysql_user="VSTrbsps";//login $mysql_passw="B4pR3ch7";//mot de passe $mysql_member="MBRrbsps";//login membre $mysql_memberpassw="B4pR3cv6";//mot de passe membre $mysql_ADM="rbsps";//login administrateur $db="rbsps";//nom de la DB $bounce_mail = 'rbsps@globalcube.net'; $bounce_pwd =''; //_____________________________________________info langues $BasicLanguage='fr';//langue de base du site $LG_list[0]='fr';//liste des langues du site $LG_list[1]='nl';//liste des langues du site $LG_list[2]='uk';//liste des langues du site //_____________________________________________info S3CURE PHP $BAD_LOG_HREF="https://www.globalcube.net/membergcm.php"; $URL_LOG_HREF="https://www.globalcube.net/memberszone/rbspsv2"; //_____________________________________________info ADMINZONE $ADMIN_Version='2.6.3'; //version du module administratif $ADMIN_emailfor='technical@glucone.com'; //email de gestion des erreur majeurs du module admin $ADMIN_emailfrom='info@rbsps.org'; //email du site proprietaire $ADMIN_emailfrom2='info@rbsps.org'; //email du site proprietaire $ADMIN_emailinfo[0]='logs1@glucone.com'; //email pour etre informe des activites de la mailing list $ADMIN_emailinfo[1]='logs2@glucone.com'; //email pour etre informe des activites de la mailing list $ADMIN_emailinfo[2]='info@rbsps.org'; //email pour etre informe des activites de la mailing list //$ADMIN_emailinfo[2]=''; //______________________________________________MAILING LIST $Type_Check_Mailing='0'; // 1=Version Snowcheck 0=Simple Check $MAIL_CONFIRMATION_TYPE="1"; // txt mail envoyé 1/html 2/txt $MAIL_CONFIRMATION_URL="mailing/mail/confirmation_"; // lien vers le mail de confirmation $MAIL_PASSWORD_URL="mailing/mail/validate_"; // lien vers le mail qui donne le password $MAIL_ACTIVATION_URL="mailing/mail/activation"; // lien vers le mail qui donne confirme l'activation du membre $filters = array("Barnypok","blackjack","cash","advance","casino","gaming","roulette","poker","url=","ringtones","spiele","kasino","gewinn","kostenloses","viagra","sex","sexe","fuck","penis","breitling","<"); ?>
Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 33
'langue'){echo $key.'='.$val.'&';} } echo "langue=".$NewLangue; } function ReturnChangeUrlLangue($link,$_GET,$_POST,$NewLangue) { $Url=$link."?"; while (list ($key, $val) = each ($_GET)) { if($key<>'langue'){$Url .=$key.'='.$val.'&';} } while (list ($key, $val) = each ($_POST)) { if($key<>'langue'){$Url .=$key.'='.$val.'&';} } $Url .= "langue=".$NewLangue; Return $Url; } if(!empty($_GET['langue'])) { $langue = $_GET['langue']; if($langue=='en')$langue='uk'; } if ($AdminInfo[adm_langue]==""){$AdminInfo[adm_langue]=$BasicLanguage;} if ($MemberInfo[adm_langue]=="" and $langue<>''){$MemberInfo[adm_langue]=$langue;} elseif ($MemberInfo[adm_langue]=="" and $langue==''){$MemberInfo[adm_langue]=$BasicLanguage;} if ($admin_language=='true') {//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Page ADMIN include("{$dir[VERSIONGCM]}includes/language/GCM{$AdminInfo[adm_langue]}.php"); include("{$dir[VERSIONGCM]}includes/language/COMMON{$AdminInfo[adm_langue]}.php"); include("{$dir[CLIENTGCM]}includes/language/{$AdminInfo[adm_langue]}.php"); $langue=$AdminInfo[adm_langue]; }//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Page ADMIN elseif ($member_language=='true') {//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Page ADMIN include("{$dir[VERSIONGCM]}includes/language/GCM{$MemberInfo[adm_langue]}.php"); include("{$dir[VERSIONGCM]}includes/language/COMMON{$MemberInfo[adm_langue]}.php"); include("{$dir[CLIENTGCM]}includes/language/{$MemberInfo[adm_langue]}.php"); $langue=$MemberInfo[adm_langue]; }//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Page ADMIN else {//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Page WEb if ($langue<>''){setcookie("cook_language",$langue,time()+86400000, "/","",0);} if ($_COOKIE['cook_language']<>''& $langue==''){$langue=$_COOKIE['cook_language'];} elseif ($langue=='') {$langue=$BasicLanguage;} include("{$dir[RACINE]}includes/language/COMMON{$langue}.php"); include("{$dir[RACINE]}includes/language/{$langue}.php"); }//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Page WEb ?>
Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 43
Send_Query("SELECT $champ FROM $table WHERE $champ=PASSWORD('$pwd')",$link) ) die( $Bdd->return_error()); if ($Bdd->num_rows()>0) { $pwd = getPwd(); while(checkPassword($pwd)===false) $pwd = getPwd(); } else return $pwd; } }//_______________________________________________________début function Create_PassMember /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction getPwd(V1.0) */ /* ==================================================================== */ function getPwd() { $r = array(0,8,16,24); $pwd=substr(md5(uniqid(rand())),$r[mt_rand(0,3)],8); $nb = 0; while($i<8 && $nb<1) { if(!is_numeric($pwd[$i])) { $pwd[$i] = strtoupper($pwd[$i]); $nb++; } $i++; } return $pwd; } /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction checkPassword(V1.0) */ /* ==================================================================== */ function checkPassword($sPassword) {//____________________________________________________________________________________________DEBUT DE LA FONCTION checkPassword $sPassword=trim($sPassword); if(! ereg("^[[:alnum:]]{6,20}\$", $sPassword)) return false; // uniquement de 6 à 20 caractères alphanumériques elseif(! ereg("[a-z]", $sPassword)) return false; // au moins une minuscule elseif(! ereg("[A-Z]", $sPassword)) return false; // au moins une majuscule elseif(! ereg("[0-9]", $sPassword)) return false; // au moins un chiffre for($i=1; $iSend_Query("SELECT $champ FROM $table WHERE $champ='$login'",$link) ) die( $Bdd->return_error()); if ($Bdd->num_rows() == 0){return $login;} else { $i++; if($i<3){$login=$Listlogin[$i];} else{$login=$initialprenom.$nom.rand(1,100);} } } }//_______________________________________________________début function Create_login /* function Create_login($Bdd,$table,$champ,$nom,$prenom) {//_______________________________________________________début function Create_login // Nettoyage du prenom et nom $prenom = strtolower($prenom); $prenom = strtr($prenom, "àáâãäåçèéêëìíîïòóôõöùúûüÿ","aaaaaaceeeeiiiioooooouuuuyy"); $prenom = str_replace(array(" ", "-", "'", '"') , "", $prenom); $nom = strtolower($nom); $nom = strtr($nom, "àáâãäåçèéêëìíîïòóôõöùúûüÿ","aaaaaaceeeeiiiioooooouuuuyy"); $nom = str_replace(array(" ", "-", "'", '"') , "", $nom); // Nettoyage du prenom et nom $initialnom=$nom{0}; $doubleinitialnom=$nom{0}.$nom{1}; $initialprenom=$prenom{0}; $doubleinitialprenom=$prenom{0}.$prenom{1}; $Listlogin[0]=$initialprenom.$nom; $Listlogin[1]=$doubleinitialprenom.$nom; $Listlogin[2]=$initialnom.$prenom; $Listlogin[3]=$doubleinitialnom.$prenom; $login=$Listlogin[0]; $i=0; while(1) { $Query = "SELECT $champ FROM $table WHERE $champ='$login'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Bdd->num_rows() == 0){return $login;} else { $i++; if($i<3){$login=$Listlogin[$i];} else{$login=$initialprenom.$nom.rand(1,100);} } } }//_______________________________________________________début function Create_login */ /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Check_Passwrd(V1.0) */ /* ==================================================================== */ function log_Check_PasswrdMember($Bdd) {//_______________________________________________________début function log_Check_Passwrd //*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-CONNECTION TO MYSQL (V1.1) $Query = "SELECT mbr_ID FROM MBRmember WHERE mbr_login='$_POST[login]' AND mbr_passwd=PASSWORD('$_POST[passwd]') AND mbr_login<>'' AND mbr_passwd<>'' AND mbr_check='y' LIMIT 0,1"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if ($MYSQLRESULT=='1') { $array = $Bdd->get_array($Result, 'BOTH'); $MYSQLRESULT=$array[mbr_ID]; } return $MYSQLRESULT; }//_______________________________________________________fin function log_Check_Passwrd /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ function log_Check_ValiditySession($Bdd,$cook_Member_Ses) {//_______________________________________________________début function log_Check_ValiditySession $Query = "SELECT ses_ID FROM MBRmember_sessions WHERE ses_ref='$cook_Member_Ses'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if($MYSQLRESULT=='0') setcookie("cook_Member_Ses","",0, "/","",0); return $MYSQLRESULT; }//_______________________________________________________fin function log_Check_ValiditySession /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Check_TimeValidity(V1.0) */ /* ==================================================================== */ function log_Check_TimeValidity($Bdd,$cook_Member_Ses) {//_______________________________________________________début function TimeValidity //*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-CONNECTION TO MYSQL (V1.1) $ses_date = date("Y-m-d H:i:00",strtotime("-1 day")); $Query = "SELECT ses_ID FROM MBRmember_sessions WHERE ses_ref='$cook_Member_Ses' AND ses_date<'$ses_date'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); $MYSQLRESULT=$Bdd->num_rows(); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $MYSQLRESULT == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if($MYSQLRESULT=='1') { setcookie("cook_Member_Ses","",0, "/","",0); // Envoi de la requete : if( !$Result = $Bdd->Send_Query("DELETE FROM MBRmember_sessions WHERE ses_ref='$cook_Member_Ses' AND ses_date<'$ses_date'",$link) ) die( $Bdd->return_error()); } return $MYSQLRESULT; }//_______________________________________________________fin function TimeValidity /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ function ISM_Check_ValiditySession($Bdd,$ISM) { $Query = "SELECT ses_ID FROM MBRmember_sessions WHERE ses_ref='$ISM'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if($MYSQLRESULT=='0') setcookie("cook_Member_Ses","",0, "/","",0); return $MYSQLRESULT; }//_______________________________________________________fin function log_Check_ValiditySession /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Check_TimeValidity(V1.0) */ /* ==================================================================== */ function ISM_Check_TimeValidity($Bdd,$ISM) {//_______________________________________________________début function TimeValidity /* $ses_date=date("Y-"); $ses_date .=date("m-"); $ses_date .=date("d")-1; $ses_date .=date(" H:i:00"); */ $ses_date = date("Y-m-d H:i:00",strtotime("-1 day")); $Query = "SELECT ses_ID FROM MBRmember_sessions WHERE ses_ref='$ISM' AND ses_date<'$ses_date'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if($MYSQLRESULT=='1') { setcookie("cook_Member_Ses","",0, "/","",0); // Envoi de la requete : if( !$Result = $Bdd->Send_Query("DELETE FROM MBRmember_sessions WHERE ses_ref='$cook_Member_Ses' AND ses_date<'$ses_date'",$link) ) die( $Bdd->return_error()); } return $MYSQLRESULT; }//_______________________________________________________fin function TimeValidity /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_UnlockSession(V1.0) */ /* ==================================================================== */ function log_UnlockSession($Bdd,$cook_Member_Ses,$pathlog,$URL_LOG_HREF,$USC) {//_______________________________________________________début function log_UnlockSession $ip_user= (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; $Query = "DELETE FROM MBRmember_sessions WHERE ses_ref='$cook_Member_Ses' AND ses_addressIP='$ip_user'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); $MYSQLRESULT=$Bdd->num_rows(); if($MYSQLRESULT>0) { setcookie("cook_Member_Ses","",0, "/","",0); writelog($pathlog,'UNLOCK cook_Member_Ses='.$cook_Member_Ses.' ADDRESS IP='.$ip_user); header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=UNLOCKOK&USC='.$USC); } else { writelog($pathlog,'ERROR on UNLOCK cook_Member_Ses='.$cook_Member_Ses.' ADDRESS IP='.$ip_user); header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=INVALIDUNLOCKORDER&USC='.$USC); } exit(); }//_______________________________________________________fin function log_UnlockSession /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Check_OldMemberSession(V1.0) */ /* ==================================================================== */ function log_Check_OldMemberSession($Bdd,$member_ID) {//_______________________________________________________début function log_Check_OldMemberSession //*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-CONNECTION TO MYSQL (V1.1) //$ses_date=date("Y-m-"); //$ses_date .=date("d")-1; //$ses_date .=date(" H:i:00"); $ses_date = date("Y-m-d H:i:00",strtotime("-1 day")); $Query = "DELETE FROM MBRmember_sessions WHERE ses_ref_member=$member_ID AND ses_date<'$ses_date'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); $MYSQLRESULT=$Bdd->num_rows(); if($MYSQLRESULT>0){$Bdd->Send_Query("OPTIMIZE TABLE MBRmember_sessions",$link);} return $MYSQLRESULT; }//_______________________________________________________fin function log_Check_OldMemberSession /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction Create_sessionID(V1.0) */ /* ==================================================================== */ function Create_sessionID($Bdd,$table,$champ) {//_______________________________________________________début function Create_sessionID $sessionID=md5(uniqid(rand())); while(1) { $Query = "SELECT $champ FROM $table WHERE $champ='$sessionID'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if (!$Result || ($Bdd->num_rows() == 0)){return $sessionID;} else{$sessionID=md5(uniqid(rand()));} } }//_______________________________________________________fin function Create_sessionID /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Create_MemberCookie(V1.0) */ /* ==================================================================== */ function log_Create_MemberCookie($Bdd,$member_ID,$db,$ip_user) {//_______________________________________________________début function log_Create_MemberCookie $sessionID=Create_sessionID($Bdd,'MBRmember_sessions','ses_ref'); $date_session=date("Y-m-d H:i:00"); $Query = "INSERT MBRmember_sessions SET ses_ref='$sessionID',ses_ref_member='$member_ID',ses_ref_client='$db',ses_addressIP='$ip_user',ses_date='$date_session'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); $MYSQLRESULT=$Bdd->num_rows(); if ($MYSQLRESULT=='1') setcookie("cook_Member_Ses",$sessionID,0, "/","",0); return $MYSQLRESULT; }//_______________________________________________________fin function log_Create_MemberCookie /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Create_MemberCookie2_6(V1.0) */ /* ==================================================================== */ function log_Create_MemberCookie2_6($Bdd,$db,$member_ID,$ip_user) {//_______________________________________________________début function log_Create_MemberCookie $sessionID=Create_sessionID($Bdd,'MBRmember_sessions','ses_ref'); $date_session=date("Y-m-d H:i:00"); $Query = "INSERT MBRmember_sessions set ses_ref='$sessionID',ses_ref_member='$member_ID',ses_ref_client='$db',ses_addressIP='$ip_user',ses_date='$date_session'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); $MYSQLRESULT=$Bdd->num_rows(); if ($MYSQLRESULT=='1') { setcookie("cook_Member_Ses",$sessionID,0, "/","",0); return $sessionID; } else return $MYSQLRESULT; }//_______________________________________________________fin function log_Create_MemberCookie /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction writelog(V1.0) */ /* ==================================================================== */ function writelog($dir,$message) {//_______________________________________________________début function writelog $date=date("F j, Y, g:i a"); if (file_exists("$dir")) { $myfile = fopen("$dir","a[b]"); if (!($myfile)){echo'ALERT! RIGHT ERROR FOR '.$dir.'PLEASE CHECK IT!';} fputs($myfile, "$date--$message\n"); fclose($myfile); } else{ $myfile = fopen("$dir","a+[b]"); fputs($myfile, "$date--CREATE FILE:$dir\n"); fputs($myfile, "$date--$message\n"); fclose($myfile); } }//_______________________________________________________fin function writelog /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Member_session(V1.0) */ /* ==================================================================== */ function log_Member_session($Bdd,$dir,$cook_Member_Ses, $pathlog,$redirect,$UrlSiteClient,$key='',$mail='',$internal=false) {//_______________________________________________________début function log_Member_session require("{$dir[CLIENTGCM]}includes/MY_DATA.PHP");//____________________________MY_DATA $ip_user = (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; if($cook_Member_Ses=='') {//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+PAS DE COOKIE if($redirect<>'') {header('Location:'.$redirect);exit();} $check_sessionmail = log_Check_SessionMail($Bdd,$key,$mail); if($check_sessionmail=='-1') {if($internal) return 'DBNoConnect'; else {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DBNoConnect&USC='.$UrlSiteClient);exit();}} else if($check_sessionmail=='0') { $check_passwd=log_Check_PasswrdMember($Bdd); $checkfct .= "cookVIDE+".$check_passwd; if($check_passwd=='-1') {if($internal) return 'DBNoConnect'; else {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DBNoConnect&USC='.$UrlSiteClient);exit();}} elseif($check_passwd=='0') { writelog($pathlog,'ALERT: BAD LOGIN & PASSWORD ADDRESS IP='.$ip_user); if($internal) return 'BADLOGIN'; else { header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=BADLOGIN&USC='.$UrlSiteClient); exit(); } } } else if($check_sessionmail>'0') $check_passwd=$check_sessionmail; $check_oldsession=log_Check_OldMemberSession($Bdd,$check_passwd); $checkfct .= "+".$check_oldsession; if($check_oldsession=='-1') {if($internal) return 'DBNoConnect'; else {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DBNoConnect&USC='.$UrlSiteClient);exit();}} $check_cookiesession=log_Create_MemberCookie2_6($Bdd,$db,$check_passwd,$ip_user); $checkfct .= "+".$check_cookiesession; if($check_cookiesession=='-1') {if($internal) return 'DBNoConnect'; else {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DBNoConnect&USC='.$UrlSiteClient);exit();}} else if($check_cookiesession=='0') {if($internal) return 'NOINSERTCOOKIEDB'; else {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=NOINSERTCOOKIEDB&USC='.$UrlSiteClient);exit();}} else if($check_cookiesession<>'-1' and $check_cookiesession<>'0' and $check_oldsession=='0') { if ($UrlSiteClient=='') { writelog($pathlog,'ADD cook_Member_Ses mbr_ID='.$check_passwd.' ADDRESS IP='.$ip_user); if($internal) return array('result'=>'home','ISM'=>$check_cookiesession); else { header('Location:'.$URL_LOG_HREF.'/index.php?mode=home'); exit(); } } else { writelog($pathlog,'ADD cook_Member_Ses mbr_ID='.$check_passwd.' ADDRESS IP='.$ip_user); $UrlSiteClient=str_replace("|", "&", $UrlSiteClient); if($internal) return array('result'=>'site','ISM'=>$check_cookiesession); else { header('Location:'.$UrlSiteClient.'?ISM='.$check_cookiesession); exit(); } } } elseif($check_cookiesession<>'-1' and $check_cookiesession<>'0' and $check_oldsession>0) { writelog($pathlog,'OLD cook_Member_Ses deleted for mbr_ID='.$check_passwd.' ADDRESS IP='.$ip_user); writelog($pathlog,'ADD cook_Member_Ses mbr_ID='.$check_passwd.' ADDRESS IP='.$ip_user); if($internal) return 'DELETEDOLDSESSION'; else { header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DELETEDOLDSESSION&USC='.$UrlSiteClient); exit(); } } }//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+PAS DE COOKIE else {//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+CHECK COOKIE $checkfct .= "cook!VIDE"; $check_validity=log_Check_ValiditySession($Bdd,$cook_Member_Ses); if($check_validity=='-1') {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DBNoConnect&USC='.$UrlSiteClient);exit();} elseif($check_validity=='0') { writelog($pathlog,'ALERT: ILLEGAL SESSION ADDRESS IP='.$ip_user); if($internal) return 'ILLEGALSESSION'; else { header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=ILLEGALSESSION&USC='.$UrlSiteClient); exit(); } } $check_timevalidity=log_Check_TimeValidity($Bdd,$cook_Member_Ses); if($check_timevalidity=='-1') {header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=DBNoConnect&USC='.$UrlSiteClient);exit();} elseif($check_timevalidity=='1') { writelog($pathlog,'BAD TIME SESSION ADDRESS IP='.$ip_user); if($internal) return 'BADTIMESESSION'; else { header('Location:'.$URL_LOG_HREF.'/index.php?BadReport=BADTIMESESSION&USC='.$UrlSiteClient); exit(); } } }//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+CHECK COOKIE }//_______________________________________________________fin function log_Member_session /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_LoadMemberInfo(V1.0) */ /* ==================================================================== */ function log_LoadMemberInfo($Bdd,$cook_Member_Ses) {//_______________________________________________________début function log_LoadMemberInfo $Query = "SELECT * FROM MBRmember_sessions,MBRmember WHERE ses_ref='$cook_Member_Ses' AND ses_ref_member=mbr_ID"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if ($MYSQLRESULT=='1') return $Bdd->get_array($Result, 'BOTH'); }//_______________________________________________________fin function log_LoadMemberInfo function log_CreateFtpMemberSession($Bdd,$sessionID) {//_______________________________________________________debut function log_CreateFtpMemberSession $ip_user = (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; $Query = "select * from MBRmember_sessions where ses_ref='$sessionID' and ses_addressIP='$ip_user'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if ($MYSQLRESULT=='1') { setcookie("cook_Member_Ses",$sessionID,0, "/","",0); return $MYSQLRESULT; } else return $MYSQLRESULT; }//_______________________________________________________fin function log_CreateFtpMemberSession /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction functionforgetpassmember(V1.1) */ /* ==================================================================== */ function forgetpassmember($dir,$Bdd,$nbLETTRE,$_POST,$TR,$pathlog) {//_______________________________________________________début function forgetpassmember require("{$dir[CLIENTGCM]}includes/MY_DATA.PHP");//____________________________MY_DATA if(!class_exists('PHPMailer')) require("{$dir[VERSIONGCM]}classes/mailer.php");//____________________________Classe Mailer $ip_user = (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; $Query = "select mbr_ID,mbr_login from MBRmember where mbr_nom='$_POST[mbr_nom]' and mbr_prenom='$_POST[mbr_prenom]' and mbr_email='$_POST[mbr_email]' and mbr_check='y'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK if ($MYSQLRESULT=='-1'){ header("Location:".$URL_LOG_HREF."/index.php?BadReport=DBNoConnect");exit(); } if ($MYSQLRESULT=='0'){ header("Location:".$URL_LOG_HREF."/index.php?BadReport=BADFORGETPASS");exit(); } if ($MYSQLRESULT=='1') { while($array = $Bdd->get_array($Result, 'BOTH')) { $mbr_ID=$array[mbr_ID]; $mbr_login=$array[mbr_login]; } $newpass=Create_PassMember($Bdd,'MBRmember','mbr_passwd',$nbLETTRE); // Envoi de la requete : if( !$Result = $Bdd->Send_Query("UPDATE MBRmember SET mbr_passwd=PASSWORD('$newpass') WHERE mbr_ID='$mbr_ID' AND mbr_check='y'",$link) ) die( $Bdd->return_error()); if ($Bdd->num_rows()=='1') {//++++++++++++++++++++++++++++++++++++++++++++++++++++++PASS MODIFIED $subject=$TR[TitleForgetPass]; $message=$TR[MessageForgetPass].'

'.$TR[FormLogin].' : '.$mbr_login.'

'.$TR[FormPassword].' : '.$newpass.'

'; $message_alt=$TR[MessageForgetPass]; $message_alt .=" ___________________________________________________________________ ".$TR[FormLogin]." : ".$mbr_login." ".$TR[FormPassword]." : ".$newpass." ___________________________________________________________________ "; $mail = new PHPMailer(); $mail->From = $ADMIN_emailfrom; $mail->FromName = $WEBSITE; $mail->AddReplyTo($ADMIN_emailfrom); $mail->AddAddress(stripslashes($_POST[mbr_email]),stripslashes($_POST[mbr_prenom].' '.$_POST[mbr_nom])); $mail->IsHTML(true); $mail->Subject = $subject; $mail->Body = $message; $mail->AltBody = $message_alt; if(!$mail->Send()) { $MailNotSend = "Mailer Error: " . $mail->ErrorInfo."
"; exit; } writelog($pathlog,'MESSAGE: USER FORGET PASSWORD PASSWORD CHANGED IP='.$ip_user); header("Location:".$URL_LOG_HREF."/index.php?BadReport=NEWPASSCREATED"); exit(); }//++++++++++++++++++++++++++++++++++++++++++++++++++++++PASS MODIFIED else { header("Location:".$URL_LOG_HREF."/index.php?BadReport=DBNoConnect");exit(); }//++++++++++++++++++++++++++++++++++++++++++++++++++++++PASS NOT MODIFIED } }//_______________________________________________________début function forgetpassmember /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction CheckMemberSessionSite2_6(V1.0) */ /* ==================================================================== */ function CheckMemberSessionSite2_6($dir,$Bdd,$cook_Member_Ses,$ISM, $pathlog) {//_______________________________________________________début function log_Member_session require("{$dir[RACINE]}includes/MY_DATA.PHP");//____________________________MY_DATA $ip_user = (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; $BadReturn="-1"; if($ISM<>'') {//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+PAS DE COOKIE $check_validity=ISM_Check_ValiditySession($Bdd,$ISM); if($check_validity=='-1') return $BadReturn.'v'; elseif($check_validity=='0') return $BadReturn.'v0'; $check_timevalidity=ISM_Check_TimeValidity($Bdd,$ISM); if($check_timevalidity=='-1') return $BadReturn.'t'; elseif($check_timevalidity=='1') return $BadReturn.'t0'; if($check_validity=='1' and $check_timevalidity=='0') { setcookie("cook_Member_Ses",$ISM,0, "/","",0); return $ISM; } }//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+PAS DE COOKIE elseif($cook_Member_Ses<>'') {//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+CHECK COOKIE $check_validity=log_Check_ValiditySession($Bdd,$cook_Member_Ses); if($check_validity=='-1') return $BadReturn; elseif($check_validity=='0') return $BadReturn; $check_timevalidity=log_Check_TimeValidity($Bdd,$cook_Member_Ses); if($check_timevalidity=='-1') return $BadReturn; elseif($check_timevalidity=='1') return $BadReturn; if($check_validity=='1' and $check_timevalidity=='0') return $cook_Member_Ses; }//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+CHECK COOKIE }//_______________________________________________________fin function log_Member_session /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_UnlockSession(V1.0) */ /* ==================================================================== */ function log_UnlockMembersSessionSite($Bdd,$cook_Member_Ses) {//_______________________________________________________début function log_UnlockSession $ip_user = (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; $Query = "DELETE FROM MBRmember_sessions WHERE ses_ref='$cook_Member_Ses' AND ses_addressIP='$ip_user'"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); // Envoi de la requete : if( !$Result = $Bdd->Send_Query("OPTIMIZE TABLE sessions",$link) ) die( $Bdd->return_error()); $MYSQLRESULT=$Bdd->num_rows(); if($MYSQLRESULT>0) setcookie("cook_Admin_Ses","",0, "/","",0); else return $cook_Member_Ses; }//_______________________________________________________fin function log_UnlockSession /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* fonction log_Check_SessionMail(V1.1) */ /* ==================================================================== */ function log_Check_SessionMail($Bdd,$key,$mail) {//_______________________________________________________début function log_Check_Passwrd $Query = "SELECT mbr_ID FROM MBRmember WHERE mbr_sessionID LIKE '$key' AND mbr_email LIKE '$mail' AND mbr_check='y' AND mbr_email<>'' AND mbr_sessionID<>'' LIMIT 0,1"; // Envoi de la requete : if( !$Result = $Bdd->Send_Query($Query,$link) ) die( $Bdd->return_error()); //*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-RESULT CONNECTION TO MYSQL (V1.1) if ($Result==''){$MYSQLRESULT='-1';}//_______MYSQL NO RESULT elseif ($Result<>'' && $Bdd->num_rows() == 0){$MYSQLRESULT='0';}//_______MYSQL NO RESULT else {$MYSQLRESULT='1';}//_______MYSQL RESULT OK //*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-CONNECTION TO MYSQL (V1.1) if ($MYSQLRESULT=='1') {//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-CONNECTION TO MYSQL (V1.1) RESULT 1 $array = $Bdd->get_array($Result, 'BOTH'); { $MYSQLRESULT=$array[mbr_ID]; } }//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-CONNECTION TO MYSQL (V1.1) RESULT 1 return $MYSQLRESULT; }//_______________________________________________________fin function log_Check_SessionMail /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ ?>
Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 57

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 59

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 61

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 63

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 69
PRIVEES > PUBLIQUE fonction CheckBlankSetting(V1.0) fonction CheckBlankSetting2(V1.0) fonction CheckFile(V1.1) fonction CheckMail(V1.0) */ class CheckForm {//************* DEBUT DE LA CLASSE Formsfunction function CheckForm() { } /*==========================================================================================================*/ /* fonction CheckBlankSetting(V1.0) */ /*==========================================================================================================*/ /* */ /* */ /* $BlankSETTING : Nom de la liste contenant les éléments à checker (1 =no language / 2 $TR) */ /* $LG_list : Nom de la liste contenant les $TR ( EN, FR, NL...) */ /* $Methode : String contenant POST ou GET */ /* return : nom du champ si erreur, sinon rien */ /* */ /*==========================================================================================================*/ function CheckBlankSetting($BlankSETTING, $LG_list, $Methode) {//____________________________________________________________________________________________DEBUT DE LA FONCTION CheckBlankSetting if($Methode == 'POST'){ while (list ($key, $val) = each ($BlankSETTING)){ if($val=='1'){ if ($_POST[$key]==''){ return $key; } } else if($val=='2'){ foreach ($LG_list as $LG){ $key_LG=$key.$LG; if ($_POST[$key_LG]==''){ return $key; } } } } }elseif($Methode == 'GET'){ while (list ($key, $val) = each ($BlankSETTING)){ if($val=='1'){ if ($_GET[$key]==''){ return $key; } } if($val=='2'){ foreach ($LG_list as $LG){ $key_LG=$key.$LG; if ($_GET[$key_LG]==''){ return $key; } } } } } }//____________________________________________________________________________________________FIN DE LA FONCTION CheckBlankSetting /*==========================================================================================================*/ /* fonction CheckBlankSetting2(V1.0) */ /*==========================================================================================================*/ /* */ /* */ /* $BlankSETTING : Nom de la liste contenant les éléments à checker (1) : conditions eventuels */ /* $list : Nom de la liste contenant les suffixes du champ */ /* $Methode : String contenant POST ou GET */ /* return : nom du champ si erreur, sinon rien */ /* */ /*==========================================================================================================*/ function CheckBlankSetting2($BlankSETTING, $list, $Methode) {//____________________________________________________________________________________________DEBUT DE LA FONCTION CheckBlankSetting2 if($Methode == 'POST'){ while (list ($key, $val) = each ($BlankSETTING)){ if($val=='1'){ $b = false; foreach ($list as $k) { if ($_POST[$key.$k]!='') $b = true; } if(!$b) return $key; } } }elseif($Methode == 'GET'){ while (list ($key, $val) = each ($BlankSETTING)){ if($val=='1'){ $b = false; foreach ($list as $k) { if ($_GET[$key.$k]!='') $b = true; } if(!$b) return $key; } } } }//____________________________________________________________________________________________FIN DE LA FONCTION CheckBlankSetting2 /*==========================================================================================================*/ /* fonction CheckFile(V1.1) */ /*==========================================================================================================*/ /* */ /* return $ErreurList[] */ /* $ErreurList['Erreur'] = [0] = Ok / [-1] = Vide / [-2] = Taille / [-3] = Type */ /* $ErreurList['TypeFichier'] = type du fichier */ /* $ErreurList['TypeDemander'] = type Mime accepter (liste) */ /* $ErreurList['TypeDemander'] = taille Maximal */ /* $ErreurList['Taille'] = taille du fichier */ /* */ /*==========================================================================================================*/ function CheckFile($UploadedFile, $UploadedFile_type, $UploadedFile_size, $MimeArr, $Size) {//____________________________________________________________________________________________DEBUT DE LA FONCTION CheckFile $ErreurList['Erreur'] = '0'; $ErreurList['TypeFichier'] = $UploadedFile_type; $ErreurList['TypeDemander'] = $MimeArr; $ErreurList['TailleDemander'] = $Size; $ErreurList['Taille'] = $UploadedFile_size; if ($UploadedFile==''){//---- pas ok (Fichier vide) $ErreurList['Erreur'] = '-1'; } if ($UploadedFile_size > $Size){//---- pas ok (taille incorecte) $ErreurList['Erreur'] = '-2'; } // Pas dedans (type increct) if(!in_array($UploadedFile_type,$MimeArr)) $ErreurList['Erreur'] = '-3'; return $ErreurList; }//____________________________________________________________________________________________FIN DE LA FONCTION CheckFile /*==========================================================================================================*/ /* fonction CheckMail(V1.1) */ /*==========================================================================================================*/ /* */ /* */ /* */ /*==========================================================================================================*/ function CheckMail($Email) {//____________________________________________________________________________________________DEBUT DE LA FONCTION CheckMail if (!eregi("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,3})$", $Email)) { $Return='-1'; } else { $Return='1'; } return $Return; }//____________________________________________________________________________________________FIN DE LA FONCTION CheckMail /*==========================================================================================================*/ /* fonction checkLogin(V1.1) */ /*==========================================================================================================*/ /* Vérifie si l'identifiant respecte les conditions minimales. */ /* L'identifiant doit comporter mninmum 1 caractère et ne peut comporter que des lettres ou des chiffres. */ /* */ /* @param String $sLogin l'identifiant. */ /* @return Boolean renvoie true si l'identifiant respecte les critères, false sinon. */ /*==========================================================================================================*/ function checkLogin($sLogin) {//____________________________________________________________________________________________DEBUT DE LA FONCTION checkLogin $sLogin=trim($sLogin); if(! ereg("^[[:alnum:]]+\$", $sLogin)) return false; // minimum 1 caractère alphanumérique else return true; }//____________________________________________________________________________________________FIN DE LA FONCTION checkLogin /*==========================================================================================================*/ /* fonction checkPassword(V1.0) */ /*==========================================================================================================*/ /* Vérifie si le mot de passe respecte les conditions minimales. */ /* Le mot de passe doit comporter de 8 à 20 caractères, avoir au moins une minuscule, une majuscule, */ /* un chiffre et ne peut avoir deux caractères consécutifs identiques. */ /* */ /* @param String $sPassword le mot de passe. */ /* @return Boolean renvoie true si le mot de passe respecte les critères, false sinon. */ /*==========================================================================================================*/ function checkPassword($sPassword) {//____________________________________________________________________________________________DEBUT DE LA FONCTION checkPassword $sPassword=trim($sPassword); if(! ereg("^[[:alnum:]]{6,20}\$", $sPassword)) return false; // uniquement de 6 à 20 caractères alphanumériques elseif(! ereg("[a-z]", $sPassword)) return false; // au moins une minuscule elseif(! ereg("[A-Z]", $sPassword)) return false; // au moins une majuscule elseif(! ereg("[0-9]", $sPassword)) return false; // au moins un chiffre for($i=1; $i
Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 79

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 83

Notice: Use of undefined constant RACINE - assumed 'RACINE' in /var/storage/vwww/www.rbsps.org/www/who/who.php on line 96

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/storage/vwww/www.rbsps.org/www/includes/MY_DATA.PHP:83) in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/storage/vwww/www.rbsps.org/www/includes/MY_DATA.PHP:83) in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 2

Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 3

Notice: Undefined variable: langue in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 4

Notice: Undefined variable: langue in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 4

Notice: Undefined index: in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 20

Notice: Undefined index: in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 21

Notice: Undefined index: in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 22

Notice: Undefined variable: chirurgien in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 24

Notice: Undefined variable: journalist in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 25

Notice: Undefined index: in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 26

Warning: require(ezc/Base/ezc_bootstrap.php): failed to open stream: No such file or directory in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 34

Fatal error: require(): Failed opening required 'ezc/Base/ezc_bootstrap.php' (include_path='.:/usr/share/php') in /var/storage/vwww/www.rbsps.org/www/requires/config.php on line 34