/ Published in: PHP
Figure out if the string possesses only hexadecimal characters in the string. If not, fail. Remember, white spaces are not hexadecimal, so make sure you trim() your strings before you send it in or explode your string.
Expand |
Embed | Plain Text
function isHexadecimalString ( $str ) { return true; } else { return false; } }
You need to login to post a comment.
