UpdatePersonTag( $tag_id, $value ); if ($tag_name == "columnconf") $res = $api->SetPersonColumnconf( $person_id, $value ); else if ($tag_name == "showconf") $res = $api->SetPersonShowconf( $person_id, $value ); $myFile = "/var/log/myslice/myslice.log"; if (file_exists($myFile)) $fh = fopen($myFile, 'a') or die("can't open file"); $stringData = date('Y-m-d@H:i')."|p=".$person_id.":s=".$slice_id.":t=".$tag_name.":v=".$value."\n"; fwrite($fh, $stringData); fclose($fh); ?>