示例#1
0
<?php

require_once 'system/system.php';
AcessPublic();
?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Degub</title>
</head>
<body>
	
	<?php 
$username = '******';
$password = '******';
$password = CryptPassword($password);
var_dump(CreateSession($username, $password));
?>


</body>
</html>
示例#2
0
function CreateSession($username, $password)
{
    $key = GetKey($username, $password);
    userLog($key);
    AcessPublic();
}