コード例 #1
0
ファイル: register.php プロジェクト: billxcode/aagim
<?php

include "crud.php";
$control = new crud();
$name = $control->security($_POST['username']);
$email = $control->security($_POST['email']);
$password = $control->security($_POST['password']);
if ($control->register($name, $email, $password)) {
    echo "success";
} else {
    echo "failed";
}