https://www.icyphoenix.com/viewtopic.php?f=4&t=6297&p=42848#p42848
-----------------------------------
Lopalong
Fri 14 Aug, 2009 12:30

Re: [FIX] Deprecated: Function Set_magic_quotes_runtime() Is Deprecated
-----------------------------------
I think that fix needs an argument against the latest php where it has been deprecated and not the current version.

Something like:

[code linenumbers=false]    if(version_compare(PHP_VERSION, '6.0.0-dev', '<'))
    {

Do this > > > 

else

        set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
        if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on' || !function_exists('ini_get'))
        {
            deregister_globals();
        }
        define('STRIP', (get_magic_quotes_gpc()) ? true : false);
    }[/code]

Etc, etc...

Something like that. ;)


