#$wms_list=array2str($ownwms);
 #print $wms_list;
 //$admin->unsetWmsProxy($wms_list);#TODO not delete owsproxy urls but update each entry! -> this would not delete log or usage of proxy!!!
 #serialize ownwms - to list and do sql
 #for the definitions in the form set the params
 #sequentialy read out the post variables
 foreach ($_POST as $var => $value) {
     #select those which are relevant (hidden fields for proxy and log)
     #identify them
     $parts = explode("_", $var);
     #echo "All vars: <br>";
     #echo $var." = ".$value."<br>";
     $value = validateint($value);
     if ($parts[0] != 'status' && $parts[2] == 'price') {
         #for the pricing in the textfield
         $admin->setWmsPrice(intval($value), intval($parts[1]));
     }
     #check the hidden fields if some log should be set
     if ($parts[2] == 'log' && $parts[0] == 'status') {
         #set the log value to 1 or 0
         $admin->setWmsLogTag(intval($parts[1]), $value);
         #if value is 0 then set the price to 0 to. there would be is no sense to have a price set - maybe change this behavior
         if ($value == 0) {
             $admin->setWmsPrice(intval($value), intval($parts[1]));
         }
         #echo "log: $var = $value<br>";
     }
     #check proxy fields
     if ($parts[0] == 'status' && $parts[2] == 'proxy') {
         #echo ("proxy settings identified: WMS_ID: ".intval($parts[1])." Value: ".$value."<br>");
         #echo ("Is active?: ");