API 파일 내용 진단'; echo ''; $base = __DIR__; $files = [ 'api/videos_by_keywords.php', 'api/user_keywords.php', 'main_data.php', 'main_data_260316_1420.php', 'main_data_moon.php', '../skin/index.php', '../skin/index_over.php', '../skin/index_moon.php', '../skin/index_guide.php', '../skin/_backup/index.php', '../skin/_backup/keyword.php', ]; foreach ($files as $f) { $full = realpath($base . '/' . $f); echo "

$f

"; if (!$full || !file_exists($full)) { echo '

파일 없음 또는 접근 불가

'; continue; } $size = filesize($full); if ($size === 0) { echo '

파일 크기 0 (empty)

'; continue; } echo "

크기: {$size} bytes

"; echo '
' . htmlspecialchars(file_get_contents($full)) . '
'; }