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.log"; if (file_exists($myFile)) $fh = fopen($myFile, 'a') or die("can't open file"); $stringData = "\n".date('Ymd-H:i')."|".$person_id.":".$slice_id.":".$value; fwrite($fh, $stringData); fclose($fh); ?>