Bu iş için aşağıdaki kodları kullandım, acaba bir güvenlik açığı oluşturur mu?
<?php
fopen("db.php", "r");
$data = file_get_contents("db.php");
if ($data == '') {
echo "dosya boş.";
} else {
echo "dosya boş değil.";
}
fclose("db.php");
?>yardımlarınız için şimdiden teşekkürler.