The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
validating username
We are creating our own page that is NOT vb powered and we are linking it to a mysql database OUTSIDE vb.
We want to validate our registration page so it does not allow usernames with special characters.. Remember, this is NOT vb powered and will not create the user in vb. We have been recommended to use the eregi() function but we can't find any tutorials on how to acheive this. This is simply for a custom php file Can anyone help? |
#3
|
|||
|
|||
We are using the following code and its not working for us.
PHP Code:
|
#4
|
|||
|
|||
Is there any error or what is happening?
|
#5
|
|||
|
|||
I see a " " (space) before the opening bracket ([) in the regex (in your code), that wasn't in the code given in post #2.
|
#6
|
|||
|
|||
That was my fault when I copied it over, as it was pasted over MSN messenger and it generated a emoticon.
That wasn't what was pasted into the php file. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|