Sign in to follow this  
Followers 0
autosc

Hexadecimals problem

4 posts in this topic

I am trying to check if the user is not using characters like > < | " ? : * + \ /

which function should i use ? the following code works only for 0123456789abcdefABCDEF

CODE
$clear = InputBox("your name ", "name please", "", "", _

-1, -1, 0, 0)

$checkk = StringIsXDigit($clear)

If $checkk = 0 Then

MsgBox(4096,"bad name ", $checkk)

Else

MsgBox(4096,"good name ", $checkk)

endif

Share this post


Link to post
Share on other sites



I am trying to check if the user is not using characters like > < | " ? : * + \ /

what is the character set you want to allow?


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

what is the character set you want to allow?

All except > < | " ? : * + \ /

Share this post


Link to post
Share on other sites

All except > < | " ? : * + \ /

All? ==> Ascii Table - your exceptions. Are you sure? Is it a good idea to have these in a name? ()=#%& ....


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0