AUTH: problems with 'db_fields' in options
| From: | l Burnerheimerton | Date: | Sun, 15 Oct 2006 23:30:14 +0000 |
| Subject: | AUTH: problems with 'db_fields' in options | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25451@lists.php.net to get a copy of this message | ||
I transferred this applicaiton to a new computer and
am having trouble all of the sudden.
This works:
$opts = array('table' => 'user_table', 'usernamecol'
=> 'uName', 'dsn' =>
'mysql://uname:password@localhost/dbname');
This does not (but previously did on another
computer):
$opts = array('table' => 'user_table', 'usernamecol'
=> 'uName','dsn' =>
'mysql://uname:password@localhost/dbname',
'db_fields' => 'id, fName, lName, mName');
The only difference is adding the 'db_fields' to
options. Again, this worked on another computer
running this same script.
Any ideas why this causes failure to authentication?
Any(!) help is much appreciated!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com