xamppのlocal環境でPHPがそのまま出力されてしまうので解消したいです。
index.html
<!DOCTYPE html> <html lang="ja" dir="ltr"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>xxxx</title> <meta name="keywords" content="xxxx"> <meta name="description" content="xxxx"> <link rel="shortcut icon" href="favicon.ico"> <link rel="apple-touch-icon" href="apple-touch-icon.png"> <link rel="icon" type="image/png" href="android-chrome-192x192.png"> <link rel="canonical" href="https://hoge.jp/"> <?php echo file_get_contents( "php/inc_head_ogp.php" ); ?> <?php echo file_get_contents( "php/inc_head_cssjs.php" ); ?> <?php echo file_get_contents( "php/inc_head_analytics.php" ); ?>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/05/03 16:34
退会済みユーザー
2022/05/03 17:01 編集
2022/05/03 17:57