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.5 2006-12-14 10:31:04 jp_milcent Exp $
|
24 |
// CVS : $Id: pap_identification.fonct.php,v 1.5.4.1 2007-11-19 12:59:29 alexandre_tb 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.5 $ $Date: 2006-12-14 10:31:04 $
|
38 |
*@version $Revision: 1.5.4.1 $ $Date: 2007-11-19 12:59:29 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +-------------------------------------------------------------------------+
|
42 |
// +-------------------------------------------------------------------------+
|
Line 84... |
Line 84... |
84 |
'WHERE U_MAIL = "'.$username.'"';
|
84 |
'WHERE U_MAIL = "'.$username.'"';
|
85 |
$resultat = $objet_pear_db->query($requete);
|
85 |
$resultat = $objet_pear_db->query($requete);
|
86 |
(DB::isError($resultat)) ? die (BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
|
86 |
(DB::isError($resultat)) ? die (BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
|
Line 87... |
Line 87... |
87 |
|
87 |
|
- |
|
88 |
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
88 |
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
89 |
if (!is_object ($ligne)) return;
|
89 |
$longueur = $ligne->longueur;
|
90 |
$longueur = $ligne->longueur;
|
90 |
$mot_de_passe_crypte = $ligne->U_PASSWD;
|
91 |
$mot_de_passe_crypte = $ligne->U_PASSWD;
|
91 |
unset($ligne);
|
92 |
unset($ligne);
|
Line 112... |
Line 113... |
112 |
}
|
113 |
}
|
113 |
}
|
114 |
}
|
Line 114... |
Line 115... |
114 |
|
115 |
|
115 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
116 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
- |
|
117 |
* $Log: not supported by cvs2svn $
|
- |
|
118 |
* Revision 1.5 2006/12/14 10:31:04 jp_milcent
|
- |
|
119 |
* Modification de PASSWORD en OLD_PASSWORD pour Mysql5
|
116 |
* $Log: not supported by cvs2svn $
|
120 |
*
|
117 |
* Revision 1.4 2005/03/03 14:36:09 jpm
|
121 |
* Revision 1.4 2005/03/03 14:36:09 jpm
|
118 |
* Correction orthographe.
|
122 |
* Correction orthographe.
|
119 |
*
|
123 |
*
|
120 |
* Revision 1.3 2004/10/25 14:49:59 jpm
|
124 |
* Revision 1.3 2004/10/25 14:49:59 jpm
|