Subversion Repositories Applications.papyrus

Rev

Rev 1087 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1087 Rev 1171
Line 19... Line 19...
19
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | You should have received a copy of the GNU Lesser General Public                                     |
20
// | License along with this library; if not, write to the Free Software                                  |
20
// | License along with this library; if not, write to the Free Software                                  |
21
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// |                                                                                                      |
22
// |                                                                                                      |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: pap_identification.fonct.php,v 1.4 2005-03-03 14:36:09 jpm Exp $
24
// CVS : $Id: pap_identification.fonct.php,v 1.4.4.1 2006-12-14 10:31:35 jp_milcent Exp $
25
/**
25
/**
26
* Bibliothèque de fonctions d'identification de Papyrus.
26
* Bibliothèque de fonctions d'identification de Papyrus.
27
*
27
*
28
* Ce paquetage contient des fonctions d'identifiacation pour différents besoin
28
* Ce paquetage contient des fonctions d'identifiacation pour différents besoin
29
* de Papyrus.
29
* de Papyrus.
Line 33... Line 33...
33
//Auteur original :
33
//Auteur original :
34
*@author            Alexandre GRANIER <alex@tela-botanica.org>
34
*@author            Alexandre GRANIER <alex@tela-botanica.org>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
36
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
37
*@copyright         Tela-Botanica 2000-2004
37
*@copyright         Tela-Botanica 2000-2004
38
*@version           $Revision: 1.4 $ $Date: 2005-03-03 14:36:09 $
38
*@version           $Revision: 1.4.4.1 $ $Date: 2006-12-14 10:31:35 $
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
40
*/
40
*/
Line 41... Line 41...
41
 
41
 
42
// +-------------------------------------------------------------------------+
42
// +-------------------------------------------------------------------------+
Line 91... Line 91...
91
    unset($ligne);
91
    unset($ligne);
92
    $resultat->free();
92
    $resultat->free();
Line 93... Line 93...
93
    
93
    
94
    if ($longueur == 16) {
94
    if ($longueur == 16) {
95
        // Le couple login / mot de passe est-il bon ?
95
        // Le couple login / mot de passe est-il bon ?
96
        $requete = 'SELECT PASSWORD("'.$password.'")';
96
        $requete = 'SELECT OLD_PASSWORD("'.$password.'")';
97
        $resultat = $objet_pear_db->query($requete);
97
        $resultat = $objet_pear_db->query($requete);
Line 98... Line 98...
98
        (DB::isError($resultat)) ? die (BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
98
        (DB::isError($resultat)) ? die (BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
99
        
99
        
Line 112... Line 112...
112
    }
112
    }
113
}
113
}
Line 114... Line 114...
114
 
114
 
115
/* +--Fin du code ---------------------------------------------------------------------------------------+
115
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
116
* $Log: not supported by cvs2svn $
-
 
117
* Revision 1.4  2005/03/03 14:36:09  jpm
-
 
118
* Correction orthographe.
116
* $Log: not supported by cvs2svn $
119
*
117
* Revision 1.3  2004/10/25 14:49:59  jpm
120
* Revision 1.3  2004/10/25 14:49:59  jpm
118
* Correction orthographe.
121
* Correction orthographe.
119
*
122
*
120
* Revision 1.2  2004/09/23 14:32:03  jpm
123
* Revision 1.2  2004/09/23 14:32:03  jpm