Reply to allowing spaces in $_POST value?

Your name:

Reply:


Posted by guitarromantic on 11/16/05 21:36

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация