function del_user_files()
 {
     global $current_user;
     get_currentuserinfo();
     $xml = "<data><response>";
     $response = "Success";
     try {
         $client = new SoapClient(MIDDMEDIA_SOAP_WSDL);
         $files = $client->serviceDelVideo($current_user->user_login, 'blogs', MIDDMEDIA_SOAP_KEY, $_POST['directory'], $_POST['file']);
     } catch (Exception $ex) {
         $response = $ex->faultstring;
     }
     $xml .= $response . "</response></data>";
     header("Content-type: text/xml");
     die($xml);
 }