Hmm, I fixed a small bug in it, before it would remove the functons like max() but i didnt take into cosideration that some one might put a space between it like max (), so i fixed it, i fixed the download file and the post update above, just make sure that your code looks like this if you installed the update above before i fixed it:
PHP Code:
foreach ($allfuncs['internal'] as $name) {
if (!in_array($name,$allowed_functions)) {
$search_array[] = "/($name)(.*)(\()(.*)(\))/siU";
$replace_array[] = "\\\4";
}
}
foreach ($allfuncs['user'] as $name) {
if (!in_array($name,$allowed_functions)) {
$search_array[] = "/($name)(.*)(\()(.*)(\))/siU";
$replace_array[] = "\\\4";
}
}
I hope you enjoy this hack, if any one has any comments or idea's feel free to ask, also feedback is nice too. All I ask of you if you use this hack on your forum is to click nt install button, thats all.