|
Posted by chris on 11/17/05 19:17
how about
validate the username put in and if it has a space replace it with an
underscore then to convert it back to a displat name replace any underscore
with a space.
just a thought
--
Όα
<guitarromantic@gmail.com> wrote in message
news:1132169777.230382.237520@g47g2000cwa.googlegroups.com...
> Hey all,
>
> I'm using the popular Login script from
> http://evolt.org/PHP-Login-System-with-Admin-Features
>
> My problem is that I'm using my $username values displayed underneath
> posted articles. In the case of staff names, some are obviously 2 words
> (Neil F), etc. It seems I can't let these users login using the above
> script.
>
> I did try modifying it to no avail, experimenting with the
> login/validation functions, but I can't seem to make it work. I
> commented out the lines stripping slashes from the username, or tried
> htmlspecialchars and addslashes to it, to no avail.
>
> How can I allow spaces in the usernames? Or am I going to have to
> create a seperate column for usernames and displayed names (and modify
> all my pages that refer to $username..)?
>
[Back to original message]
|