I'm trying to detect if mcrypt is available on a server by checking the return codes from the functions:
if (!mcrypt_module_open('rijndael-256', '', 'ofb', '')) {
print "Boehh";flush();
}
I I now open the page it outputs all normal data until this call. Teh, no errors (it's enabled) etc.
I could check for the directory where mcrypt normaly lives, but does that work in safe mode as well? (it's outside the normal directories)
Bas