add( $_POST['login_name'].'@'.$_POST['login_domain'], $_POST['password'], $_POST['path'], (int) $_POST['quota']); header("location: ./ftp_accounts.php"); exit; } if (!empty($_GET['delete'])) { $ftp_accounts->delete($_GET['delete']); header("location: ./ftp_accounts.php"); exit; } echo '
Login | Password | Path | Quota (MB) | Actions |
---|---|---|---|---|
'.$account['login'].' | '.$account['password'].' | '.$account['path'].' | '.$account['quota_size'].' | Delete | Edit |