All checks were successful
Build and push / Pulling repo on server (push) Successful in 24s
21 lines
450 B
PHP
21 lines
450 B
PHP
<?php
|
|
|
|
class Login extends Page {
|
|
|
|
function index()
|
|
{
|
|
$this->set('hello','world');
|
|
$this->set('template', 'login.html');
|
|
//return print_r($_REQUEST, true);
|
|
}
|
|
|
|
function validate()
|
|
{
|
|
$email = $_REQUEST['email'];
|
|
$password = $_REQUEST['password'];
|
|
$remember = $_REQUEST['remember'];
|
|
|
|
return print_r(['email'=>$email,'password'=>$password,'remember'=>$remember], true);
|
|
}
|
|
|
|
} |