query($strSQL_1); if( $res1 ) { //$objConn->commitTrans(); // rcacct.conf 파일 업데이트 $fp = fopen($rcAcctPath, "w"); $strSql = "SELECT rcacct FROM t_rms_rc_index WHERE deleted_yn = 'N' "; $res = $objConn->query($strSql); if( $objConn->nf() != 0 ) { while( $objConn->next_record() ) { $rcacct = $objConn->f("rcacct"); if (!is_null($rcacct) && $rcacct != "") { fwrite($fp, $rcacct."\n"); } } } fclose($fp); $objConn->close(); AlertMsg( "$rc_name 팝이 수정되었습니다." ); echo( "" ); } else { $objConn->rollbackTrans(); $objConn->close(); AlertBack( "error: database query failed" ); } ?>