0

次の初期コードを含むファイルがあります。

<?php 

    $body_tags = 'class="careers"';
    $title = "Ensure Security | Security Guards in Wiltshire";
    $keywords = "Ensure, Security, door guard, supervision, covert, guard, guarding, static, event, retail, commercial, security van, dog unit, melksham, Wiltshire, south West, safety, sia, protection, surveillance, rapid response.";
    $description = "Ensure Security are a Wiltshire based company. We strive to provide our clients with the best service. We offer a personal and professional approach. Ensure Security have been established now for 15 years and hold a respectable client portfolio.";

?>
<?php include 'template/head.php'; ?>

        <div class="maincontent">
            <div class="left"> 
                <ul id="navmenu"> 

これは生のテキストとしてブラウザーに送信されています-phpタグとすべて。ただし、サイト内の他のすべてのページは正しく処理されています。例:

<?php 

    $body_tags = 'class="services"';
    $title = "Ensure Security | Security Guards in Wiltshire";
    $keywords = "Ensure, Security, door guard, supervision, covert, guard, guarding, static, event, retail, commercial, security van, dog unit, melksham, Wiltshire, south West, safety, sia, protection, surveillance, rapid response.";
    $description = "Ensure Security are a Wiltshire based company. We strive to provide our clients with the best service. We offer a personal and professional approach. Ensure Security have been established now for 15 years and hold a respectable client portfolio.";

?>
<?php include 'template/head.php'; ?>

        <div class="maincontent">
            <div class="left"> 
                <ul id="navmenu"> 

正しくレンダリングされます。

私は両方のページを編集していますが、どちらのphpも編集していません。何が起こっていますか?

編集:含まれているファイルがこれを行っている可能性がありますか?

4

0 に答える 0