Alternc
latest
Alternc logiel libre pour l'hébergement
aws_userdel.php
Go to the documentation of this file.
1
<?php
2
/*
3
----------------------------------------------------------------------
4
AlternC - Web Hosting System
5
Copyright (C) 2000-2012 by the AlternC Development Team.
6
https://alternc.org/
7
----------------------------------------------------------------------
8
LICENSE
9
10
This program is free software; you can redistribute it and/or
11
modify it under the terms of the GNU General Public License (GPL)
12
as published by the Free Software Foundation; either version 2
13
of the License, or (at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
To read the license please visit http://www.gnu.org/copyleft/gpl.html
21
----------------------------------------------------------------------
22
Purpose of file: Delete awstat accounts
23
----------------------------------------------------------------------
24
*/
25
require_once(
"../class/config.php"
);
26
27
// On parcours les POST_VARS et on repere les del_.
28
reset($_POST);
29
while
(list(
$key
,
$val
)=each($_POST)) {
30
if
(substr(
$key
,0,4)==
"del_"
) {
31
// Effacement du compte ftp $val
32
$r
=$aws->del_login(
$val
);
33
if
(
$r
) {
34
$msg
->raise(
'INFO'
,
"aws"
, _(
"The awstat account %s has been successfully deleted"
),
$val
);
35
}
36
}
37
}
38
39
include(
"aws_users.php"
);
40
exit
();
41
42
?>
exit
exit
Definition:
adm_doadd.php:70
$msg
$msg
Definition:
bootstrap.php:75
$r
$r
Definition:
aws_add.php:75
$val
$val
Definition:
tempovars.php:15
$key
if(empty($_POST['key'])||empty($_POST['val'])) $key
Definition:
tempovars.php:14
awstats
bureau
admin
aws_userdel.php
Generated on Sat Sep 16 2023 12:00:03 for Alternc by
1.9.1