• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick PHP question

MrScott81

Golden Member
I'm trying to clean an md5 string so it only contains a-z and 0-9 and using this code but it doesn't work...can someone help? If i exclude the ! it does exactly the opposite of what i want to do:

$key = preg_replace('#(![0-9a-f])#', ''", $key);
 
Back
Top