Go to the source code of this file.
◆ $admin
◆ $email
◆ $name
◆ $password
$password = get_input('password', null, false) |
◆ $password2
$password2 = get_input('password2', null, false) |
◆ $username
◆ else
Initial value:{
register_error($error)
Display an error on next page load.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition at line 62 of file useradd.php.
◆ try
if (is_array( $admin)) if ( $username==''||$password==''||$password2==''||$email==''||$name=='') if (strcmp( $password, $password2) !=0) try |
Initial value:{
$guid
Removes an admin notice.
register_user($username, $password, $name, $email, $allow_multiple_emails=false)
Registers a user, returning false if the username already exists.
Definition at line 35 of file useradd.php.