回答編集履歴

1

エラーになる箇所を修正

2017/01/24 04:37

投稿

kunai
kunai

スコア5405

test CHANGED
@@ -76,7 +76,9 @@
76
76
 
77
77
  if(!empty($error)) {
78
78
 
79
- header('location:http://localhost/up/up.php?error[]='.implode('&error[]=', $error);
79
+ $url = 'http://localhost/up/up.php?error[]='.implode('&error[]=', $error);
80
+
81
+ header('Location: '.$url);
80
82
 
81
83
  } else {
82
84