質問編集履歴
2
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -99,3 +99,53 @@
|
|
99
99
|
$success = $user->user_registaration($username, $password);
|
100
100
|
|
101
101
|
```
|
102
|
+
|
103
|
+
###追記のコード
|
104
|
+
|
105
|
+
```php
|
106
|
+
|
107
|
+
<?php
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
require_once('Smarty.class.php');
|
112
|
+
|
113
|
+
require_once('../file_class/login_authentication.php');
|
114
|
+
|
115
|
+
require_once('../file_class/user_registration.php');
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
$smarty = new Smarty();
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
$smarty->template_dir = '../templates';
|
124
|
+
|
125
|
+
$smarty->compile_dir = '../templates_c';
|
126
|
+
|
127
|
+
$smarty->config_dir = '../configs/';
|
128
|
+
|
129
|
+
$smarty->cache_dir = '../cache/';
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
session_start();
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
// メッセージの初期化
|
138
|
+
|
139
|
+
$errorMessage = "";
|
140
|
+
|
141
|
+
$signUpMessage = "";
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
$smarty->assign('signUpMessage', $success);
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
$smarty->display('signup.tpl');
|
150
|
+
|
151
|
+
```
|
1
誤字の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
登録判定処理がうまくい
|
1
|
+
登録判定処理がうまくいきません
|
test
CHANGED
File without changes
|