[pmwiki-users] How to resolve space in username

Elizabeth Koh elizabethkoh at gmail.com
Fri Jan 16 12:17:53 CST 2009


Hi,

I am trying to read an sql database with usernames that consist of a
space in between their firstname and lastname e.g. Peter Smith - with
a space in the middle.

This is in my config file.

$AuthorNameChars = " -\\xff";

include_once "$FarmD/cookbook/authuserdbase.php";

$AuthUserFunctions['mysql'] = 'AuthUserDatabase';
$AuthUser['mysql']=true;

#for auth user script
include_once("$FarmD/scripts/authuser.php");

I have tried putting the $AuthorNameChars before the authuserdbase,
between authuserdbase and authuser script and after authuser. But all
do not work.

I am using pmwiki-2.2.0-beta68.

Could anyone help me?

Really appreciate it.

Thanks!

Elizabeth



More information about the pmwiki-users mailing list