View Single Post
  #5  
Old 12th April 2020, 16:53
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Thumbs down
well its done thats the main thing oops

but Evil-Trinity-master

Code:
 ////////Strip slashes by system//////////
function cleanquotes(&$in)
{
    if (is_array($in)) return array_walk($in, 'cleanquotes');
    return $in = stripslashes($in);
}
if (get_magic_quotes_gpc()) {
    array_walk($_GET, 'cleanquotes');
    array_walk($_POST, 'cleanquotes');
    array_walk($_COOKIE, 'cleanquotes');
    array_walk($_REQUEST, 'cleanquotes');
}
Code:
function unesc($x)
{
    if (get_magic_quotes_gpc()) return stripslashes($x);
    return $x;
}
Code:
if (get_magic_quotes_gpc() || get_magic_quotes_runtime() || ini_get('magic_quotes_sybase'))
die('PHP is configured incorrectly. Turn off magic quotes.');
if (ini_get('register_long_arrays') || ini_get('register_globals') || ini_get('safe_mode'))
not fixed
i mean i removed this old function over 3 years ago on a 09 i did..its been gone for some time now if your going to update the code do it properly

Last edited by Napon; 12th April 2020 at 17:13.
Reply With Quote