Ciao raga forse l ho trovato che dite?:
if ($level == "2"){
if (file_exists("$full_path_to_public_program/adminpanel/db.php")){
unlink ("$full_path_to_public_program/adminpanel/db.php");
}
$fd = fopen ("$full_path_to_public_program/adminpanel/db.php","w+") or die("<div class=\"error\">Unable to create db.php in adminpanel. Please chmod this folder to 777 and press refresh on this page.</div>");
la seconda linea e la 104.
grazie