質問編集履歴
2
記入漏れ
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
インクルード元(index.html)
|
21
21
|
<?php
|
22
|
-
include_once "http://localhost/test.php";
|
22
|
+
include_once "http://localhost/hoge/test.php";
|
23
23
|
|
24
24
|
$test = testfunc();//①
|
25
25
|
echo $test;
|
1
記入漏れ
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,13 +21,14 @@
|
|
21
21
|
<?php
|
22
22
|
include_once "http://localhost/test.php";
|
23
23
|
|
24
|
-
$test = testfunc();
|
24
|
+
$test = testfunc();//①
|
25
25
|
echo $test;
|
26
26
|
?>
|
27
27
|
----------------------------------------
|
28
28
|
インクルード先(test.php)
|
29
29
|
<?php
|
30
|
-
//$test = testfunc();
|
30
|
+
//$test = testfunc();//②
|
31
|
+
var_dump("TEST"); // ③
|
31
32
|
|
32
33
|
function testfunc(){
|
33
34
|
$result = "てすと";
|