Camen Design Forum

Delete

(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[2]: Stop users from registering spaces in their usernames

dummy

@Martijn "I am not sure how to best communicate this error to the user though. It would just look like something randomly failed?"

I just thinking.

After add the code.

`strpbrk(NAME, " ") === false`.

Maybe I need tu change the Name field : Your Name to Your Name (without space).

And without give error to the user. So I don't need to put

echo "error" / "Your Name (without space)"

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn