質問編集履歴
3
修正前に戻します。
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,11 +32,11 @@
|
|
32
32
|
|
33
33
|
ob_start();
|
34
34
|
|
35
|
-
include_once( dirname( __FILE__ ) . '/
|
35
|
+
include_once( dirname( __FILE__ ) . '/style.css' );
|
36
36
|
|
37
37
|
$hoge = ob_get_contents();
|
38
38
|
|
39
|
-
$hoge =
|
39
|
+
$hoge = str_replace( '???', '', $hoge );
|
40
40
|
|
41
41
|
echo $hoge;
|
42
42
|
|
2
コードミス修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
$hoge = ob_get_contents();
|
38
38
|
|
39
|
-
$hoge =
|
39
|
+
$hoge = preg_replace( '???', '', $hoge );
|
40
40
|
|
41
41
|
echo $hoge;
|
42
42
|
|
1
コードの修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
PHPで
|
1
|
+
PHPで正規表現を使って文字列を削除したいです!
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
ob_start();
|
34
34
|
|
35
|
-
include_once( dirname( __FILE__ ) . '/style.css' );
|
35
|
+
include_once( dirname( __FILE__ ) . '/../style.css' );
|
36
36
|
|
37
37
|
$hoge = ob_get_contents();
|
38
38
|
|