Added the agent and website folders

This commit is contained in:
Frank Harris 2025-09-05 08:41:50 -04:00
parent 0e5a131bfb
commit 85ec5836a5
778 changed files with 104105 additions and 9 deletions

View file

@ -0,0 +1,15 @@
<?php
error_reporting(0);
require('soap_config.php');
$client = new SoapClient(null, array('location' => $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
$session_id = $client->login($username,$password);
chdir('ftp_users');
$username = $_GET['username'];
$ftp_user_id = file_get_contents($username);
$client->sites_ftp_user_delete($session_id, $ftp_user_id);
unlink($username);
$client->logout($session_id);
?>