質問編集履歴

1

urlの表記修正

2020/01/16 15:51

投稿

yuuyu
yuuyu

スコア1139

test CHANGED
File without changes
test CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  例えば現在のurlが、
6
6
 
7
- http;//testurl.com/dir1/dir2/index.php(最初の;は:として読み替えてください)
7
+ http;//example.jp/dir1/dir2/index.php(最初の;は:として読み替えてください)
8
8
 
9
9
  だとすると、
10
10
 
11
- http;//testurl.com/dir1/dir2/
11
+ http;//example.jp/dir1/dir2/
12
12
 
13
13
  というのを取得したいのですが、
14
14
 
@@ -48,7 +48,7 @@
48
48
 
49
49
  ```php
50
50
 
51
- header( "Location: http://testurl.com/dir1/dir2/main.php");
51
+ header( "Location: http://example.jp/dir1/dir2/main.php");
52
52
 
53
53
  exit();
54
54