回答編集履歴
1
リンクを追記
test
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
分割の前に、`parse_url`関数でパスだけを抜き出した方が良いと思います。
|
2
|
+
|
3
|
+
[http://php.net/manual/ja/function.parse-url.php](http://php.net/manual/ja/function.parse-url.php)
|
2
4
|
|
3
5
|
|
4
6
|
|