verify($_POST['_csrf'], 'frmPassword') && isset($_POST['password']) && ('' != $_POST['password'])) { $out = ''; file_put_contents(__DIR__.'/inc/pwd.inc.php', $out); die("Password changed. Login"); } else { die('Can not change password'); }