Newer
Older
hello-programmer-world / public / sample / php / include.php
@h.sakamoto h.sakamoto 7 days ago 429 bytes require_once
<?php
require_once 'lib/varout.php';
?>
<!DOCTYPE html>
<html lang="ja">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>ファイルを読み込む</title>
</head>

<body>
  <?php include './components/header.html'; ?>

  <main>
    メインコンテンツ
  </main>

  <?php varout($_SERVER); ?>

  <?php include './components/footer.html'; ?>
</body>

</html>