opensim-www – Diff between revs 1 and 9
?pathlinks?
Rev 1 | Rev 9 | |||
---|---|---|---|---|
Line 28... | Line 28... | |||
28 | |
28 | |
|
29 | if(!$resp->is_valid) { |
29 | if(!$resp->is_valid) { |
|
30 | echo '<p>Sorry, incorrect captcha. Please try again.</p>'; |
30 | echo '<p>Sorry, incorrect captcha. Please try again.</p>'; |
|
31 | } |
31 | } |
|
32 | else { |
32 | else { |
|
33 | $req = new KOS('http://127.0.0.1:10000', 'opensim'); |
33 | $req = new wasRemoteAdmin('http://127.0.0.1:10000', 'opensim'); |
|
34 | $uuid = UUID::v4(); |
34 | $uuid = UUID::v4(); |
|
35 | $req->send('create user '.$first.' '.$last.' '.$password.' '.$email.' '.$uuid); |
35 | $req->admin_console_command('create user '.$first.' '.$last.' '.$password.' '.$email.' '.$uuid); |
|
36 | echo '<p>Account created successfully.</p>'; |
36 | echo '<p>Account created successfully.</p>'; |
|
37 | } |
37 | } |
|
38 | ?> |
38 | ?> |
|
39 | </p> |
39 | </p> |