function edit2($POST) {
global $ar,$db;
$udt=array(
'slug'=>$POST['slug'],
'type'=>$POST['type'],
'param'=>trim($POST['param']),
'method'=>trim($POST['method']),
'folder'=>$POST['folder'],
'remark'=>trim($POST['remark']),
'php'=>gpc(trim($POST['php'])),
'body'=>gpc(trim($POST['body'])),
'update_at'=>time(),
);
Update($db,"cp_filephp",$udt,"id=".$POST['id'],1);
}