RE: [PEAR-DEV] Auth, [set|get]AuthData(), suggestions and MDB container

From: Date: Wed, 05 Mar 2003 19:03:09 +0000
Subject: RE: [PEAR-DEV] Auth, [set|get]AuthData(), suggestions and MDB container
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14093@lists.php.net to get a copy of this message
actually I didn't use getTextValue on purpose, because technically a "username" could also be something different from a string, I'm thinking about a numeric code or sth like that... in the doubt, I left it as is, but I could add a datatype-autocheck and specify the correct method, if it's worth something...
well if the key is numeric it will not change much having getTextValue in there as it will only place quotes around the integer, which is what is happending now already. Having quotes around integers will work in some DB's. The advantage of using getTextValue is that this will also escape (unlikely) and it also makes it more obvious where to change things if you are moving to an integer datatype.
Yep, you're right... I'll send an updated version to Martin asap. Bye Lorenzo

« previous php.pear.dev (#14093) next »