[pLog-general] Reserving Username.
Oscar Renalias
oscar at renalias.net
Wed Sep 21 16:36:33 GMT 2005
16.000????
Wow. So many?
I wouldn't put so many in a db table, this could have a performance
hit since the plog_config table is loaded every single request.
Hardcoding this into an array in a .php file might be a better
option. Take a look at class/data/validator/
usernamevalidator.class.php, this is the class that is used plog-wide
for validating usernames. In the constructor there is an array called
$forbiddenUsernamesArray, you probably want to add in there your list
of usernames.
Oscar
On 21 Sep 2005, at 19:12, Zaid B. Amireh wrote:
> Hi all,
>
> I need to forbid around 16,000 usernames from being registered into
> pLog, I'm thinking about adding all those usernames to the
> 'forbidden_usernames' field in 'plog_config', any more efficient
> ideas? I think my idea is just too stupid.
>
> with regards
>
> Zaid Amireh
> _______________________________________________
> pLog-general mailing list
> pLog-general at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-general
>
>
More information about the pLog-general
mailing list