view setChannelInfo.php @ 153:4099ae0393eb

mod: do-record.shラッパを追加(まだ途中)
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 28 Mar 2010 22:56:00 +0900
parents 134fced37df5
children
line wrap: on
line source

<?php
include_once('config.php');
include_once( INSTALL_PATH . "/DBRecord.class.php" );
include_once( INSTALL_PATH . "/Settings.class.php" );


if( isset($_POST['sid']) && isset($_POST['channel_disc']) && isset($_POST['skip']) ) {
	
	try {
		$crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] );
		$crec->sid = trim($_POST['sid']);
		$crec->skip = (int)(trim($_POST['skip']));
	}
	catch( Exception $e ) {
		exit("Error: c潟掩贋医け" );
	}
}
?>