PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » Auth_HTTP » Bug #2408

usernamecol and passwordcol can't contain a space

Details

Submitted2004-09-28 14:16 UTC
Fromayourk at srt dot com
StatusSuspended
PackageAuth_HTTP
PHP Version4.3.8
OSRedHat
Roadmaps(Not assigned)

Comments

[2004-09-28 14:16 UTC] ayourk at srt dot com

Description:
------------
I have a database I have no control over and the db admin likes to use spaces in the field names. I've tried to tell him this makes things difficult for coding, but he won't listen. Any way you can make this module work with field names that have spaces and other special characters (like a pipe '|' character) would be most appreciated.

Reproduce code:
---------------
Create a database (I used PostgreSQL here) and have a table that has 2 columns for the username and 2 columns for the password. Make 1 of those 2 columns for each field have a space. In the code switch between the 2 columns for the *col fields in the AuthOptions array.