카테고리 없음

ㅇㅋ

James Howard 2024. 4. 30. 09:30

<?php
// Fetch content from URLs
$page1_content = file_get_contents('https://example.com/page1');
$page2_content = file_get_contents('https://example.com/page2');
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Multi-Page Display</title>
</head>
<body>
    <!-- Display fetched content -->
    <div>
        <?php echo $page1_content; ?>
    </div>
    <div>
        <?php echo $page2_content; ?>
    </div>
    <!-- Add more div containers and fetched content as needed -->
</body>
</html>