/ 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
Copy this code and paste it in your HTML
function isHexadecimalString ( $str ) { return true; } else { return false; } }