回答編集履歴

2

追記

2017/04/25 04:16

投稿

shi_ue
shi_ue

スコア4437

test CHANGED
@@ -28,6 +28,10 @@
28
28
 
29
29
  // $parmが適正か調べる処理を入れましょう。
30
30
 
31
+ ...(処理)...
32
+
33
+ // ここではテキストですが、JSONの方が使いやすいですね。
34
+
31
35
  header('Content-type: text/plain; charset=UTF-8');
32
36
 
33
37
  hoge($parm);

1

スクリプト修正

2017/04/25 04:16

投稿

shi_ue
shi_ue

スコア4437

test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
 
24
24
 
25
- if (isset($_GET['hoge']) {
25
+ if (isset($_GET['hoge'])) {
26
26
 
27
27
  $parm = $_GET['hoge'];
28
28