Alternc  latest
Alternc logiel libre pour l'hébergement
hta_doadduser.php File Reference

Go to the source code of this file.

Variables

 $fields
 Add a new username / password pair to a protected folder. More...
 
if($password !=$passwordconf) if(! $hta->add_user($user, $password, $dir)) else
 

Variable Documentation

◆ $fields

$fields
Initial value:
= array (
"dir" => array ("post", "string", ""),
"user" => array ("post", "string", ""),
"password" => array ("post", "string", ""),
"passwordconf" => array ("post", "string", ""),
)

Add a new username / password pair to a protected folder.

Definition at line 27 of file hta_doadduser.php.

◆ else

if ( $password !=$passwordconf) if (! $hta->add_user( $user, $password, $dir)) else
Initial value:
{
$msg->raise("INFO", "hta", _("The user %s was added to the protected folder %s"), array($user, $dir))
$msg
Definition: bootstrap.php:75
$user
Definition: bootstrap.php:84

Definition at line 44 of file hta_doadduser.php.