teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

13

2016/08/08 22:47

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -22,8 +22,6 @@
22
22
  ###該当のソースコード
23
23
 
24
24
  test.html
25
-
26
- ---------------------------
27
25
  ```
28
26
  <?php include('set.php'); ?>
29
27
  <?= $abc ?>
@@ -31,32 +29,31 @@
31
29
  <!--#include virtual='ssi.html' -->
32
30
  <p><!--#echo var='ssi' --></p>
33
31
  ```
34
- ---------------------------
35
32
 
36
33
  set.php
37
- ---------------------------
34
+ ```
38
35
  <?php
39
36
  $abc="ABC";
40
37
  $aiu="あいう";
41
38
  ?>
42
- ---------------------------
39
+ ```
43
-
44
- include.php
40
+ include.html
45
- ---------------------------
41
+ ```
46
42
  <h1><?= $aiu ?></h1>
47
- ---------------------------
43
+ ```
48
44
 
49
45
  ssi.html
50
- ---------------------------
46
+ ```
51
- <!--#set var='ssi' value='Ssi' -->
47
+ <!--#set var='ssi' value='Ssi' -->
52
- ---------------------------
48
+ ```
53
49
 
54
50
 
51
+
55
52
  test.htmlのブラウザでの表示
56
- ---------------------------
53
+ ```
57
54
  あいう
58
55
  Ssi
59
- ---------------------------
56
+ ```
60
57
  と表示され、$abcが反映されません。
61
58
 
62
59
  ###試したこと

12

2016/08/08 22:47

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -24,13 +24,13 @@
24
24
  test.html
25
25
 
26
26
  ---------------------------
27
- '''
27
+ ```
28
28
  <?php include('set.php'); ?>
29
29
  <?= $abc ?>
30
30
  <?php include('include.php'); ?>
31
31
  <!--#include virtual='ssi.html' -->
32
32
  <p><!--#echo var='ssi' --></p>
33
- '''
33
+ ```
34
34
  ---------------------------
35
35
 
36
36
  set.php

11

2016/08/08 22:42

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -24,11 +24,13 @@
24
24
  test.html
25
25
 
26
26
  ---------------------------
27
+ '''
27
28
  <?php include('set.php'); ?>
28
29
  <?= $abc ?>
29
30
  <?php include('include.php'); ?>
30
31
  <!--#include virtual='ssi.html' -->
31
32
  <p><!--#echo var='ssi' --></p>
33
+ '''
32
34
  ---------------------------
33
35
 
34
36
  set.php

10

2016/08/08 22:41

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  ---------------------------
27
27
  <?php include('set.php'); ?>
28
- '''<?= $abc ?>'''
28
+ <?= $abc ?>
29
29
  <?php include('include.php'); ?>
30
30
  <!--#include virtual='ssi.html' -->
31
31
  <p><!--#echo var='ssi' --></p>

9

2016/08/08 22:40

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
File without changes

8

2016/08/08 22:39

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  ---------------------------
27
27
  <?php include('set.php'); ?>
28
- <?= $abc ?>
28
+ '''<?= $abc ?>'''
29
29
  <?php include('include.php'); ?>
30
30
  <!--#include virtual='ssi.html' -->
31
31
  <p><!--#echo var='ssi' --></p>

7

2016/08/08 22:38

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -24,9 +24,7 @@
24
24
  test.html
25
25
 
26
26
  ---------------------------
27
-
28
- # <?php include('set.php'); ?>
27
+ <?php include('set.php'); ?>
29
-
30
28
  <?= $abc ?>
31
29
  <?php include('include.php'); ?>
32
30
  <!--#include virtual='ssi.html' -->

6

2016/08/07 00:35

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -24,12 +24,13 @@
24
24
  test.html
25
25
 
26
26
  ---------------------------
27
+
27
- <pre> <code><?php include('set.php'); ?>
28
+ # <?php include('set.php'); ?>
29
+
28
30
  <?= $abc ?>
29
31
  <?php include('include.php'); ?>
30
32
  <!--#include virtual='ssi.html' -->
31
33
  <p><!--#echo var='ssi' --></p>
32
- </code></pre>
33
34
  ---------------------------
34
35
 
35
36
  set.php

5

2016/08/07 00:35

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -22,12 +22,14 @@
22
22
  ###該当のソースコード
23
23
 
24
24
  test.html
25
+
25
26
  ---------------------------
26
- <?php include('set.php'); ?>
27
+ <pre> <code><?php include('set.php'); ?>
27
28
  <?= $abc ?>
28
29
  <?php include('include.php'); ?>
29
30
  <!--#include virtual='ssi.html' -->
30
31
  <p><!--#echo var='ssi' --></p>
32
+ </code></pre>
31
33
  ---------------------------
32
34
 
33
35
  set.php

4

2016/08/07 00:33

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
File without changes

3

2016/08/07 00:26

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
File without changes

2

2016/08/07 00:26

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -32,20 +32,20 @@
32
32
 
33
33
  set.php
34
34
  ---------------------------
35
- <?php
35
+ <?php
36
- $abc="ABC";
36
+ $abc="ABC";
37
- $aiu="あいう";
37
+ $aiu="あいう";
38
- ?>
38
+ ?>
39
39
  ---------------------------
40
40
 
41
41
  include.php
42
42
  ---------------------------
43
- <h1><?= $aiu ?></h1>
43
+ <h1><?= $aiu ?></h1>
44
44
  ---------------------------
45
45
 
46
46
  ssi.html
47
47
  ---------------------------
48
- <!--#set var='ssi' value='Ssi' -->
48
+ <!--#set var='ssi' value='Ssi' -->
49
49
  ---------------------------
50
50
 
51
51
 

1

2016/08/07 00:23

投稿

mochimochi
mochimochi

スコア8

title CHANGED
File without changes
body CHANGED
@@ -23,11 +23,11 @@
23
23
 
24
24
  test.html
25
25
  ---------------------------
26
- <?php include('set.php'); ?>
26
+ <?php include('set.php'); ?>
27
- <?= $abc ?>
27
+ <?= $abc ?>
28
- <?php include('include.php'); ?>
28
+ <?php include('include.php'); ?>
29
- <!--#include virtual='ssi.html' -->
29
+ <!--#include virtual='ssi.html' -->
30
- <p><!--#echo var='ssi' --></p>
30
+ <p><!--#echo var='ssi' --></p>
31
31
  ---------------------------
32
32
 
33
33
  set.php