質問編集履歴
2
エスケープの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
$html = file_get_contents('test1.php');
|
52
52
|
$subject = $html;
|
53
53
|
$url = 'http\:\/\/exmple\.com\/a\/b\/c';
|
54
|
-
$search = array('http\:\/\/exmple\.com/a/b/c');
|
54
|
+
$search = array('http\:\/\/exmple\.com\/a\/b\/c');
|
55
55
|
$replace = array(urlencode($url));
|
56
56
|
echo str_replace($search,$replace,$subject);
|
57
57
|
|
1
タイトルの変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
正規表現によるurl抽出について
|
1
|
+
正規表現によるurl抽出・エンコードについて
|
body
CHANGED
File without changes
|