Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Mon Sep 27, 2004 2:48 pm Reply with quote

I allow users to create accounts using clan tags since I have a gaming site. I have a user that got banned because of this.
[ Only registered users can see links on this board! Get registered or login! ]

I know it is the ( that got him banned. Is there any kind of a work around for this kind of stuff?

_________________
http://jamesdibben.com 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Sep 27, 2004 3:04 pm Reply with quote

Remove the edit for (). Keep in mind that nuke would have stopped it too, so you'll have to edit in more than one place. I would consider using -qX instead of (qX)
 
View user's profile Send private message
TheosEleos







PostPosted: Mon Sep 27, 2004 3:07 pm Reply with quote

How do I edit this to keep out parenthesis?

Here is what I have in your_account index.php

[^a-zA-Z0-9_ \.-\[\]]

You have some recomendations for me?
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Mon Sep 27, 2004 4:37 pm Reply with quote

(ereg("[^a-zA-Z0-9_-]",$username))
Is supposed to only allow lowercase and uppercase a to z, numbers 0 to 9, - and _
 
View user's profile Send private message Visit poster's website
TheosEleos







PostPosted: Mon Sep 27, 2004 6:02 pm Reply with quote

I let people have [] and {} for clan tags and such.
 
TheosEleos







PostPosted: Mon Sep 27, 2004 6:03 pm Reply with quote

Am I crazy or did a couple of posts get deleted? lol
 
Raven







PostPosted: Mon Sep 27, 2004 6:28 pm Reply with quote

Yes you are crazy but that has no bearing in anything else ROTFL
 
TheosEleos







PostPosted: Mon Sep 27, 2004 6:40 pm Reply with quote

Shocked

I swear Chat posted something like.

Quote:
What Raven posted will allow () to be used


It happened, it happened I tell ya!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©