view setChannelInfo.php @ 134:58791b90221b

mod: mb_ereg_replace -> preg_replace
author yoneda <epgrec@park.mda.or.jp>
date Sat, 20 Mar 2010 00:49:37 +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: チャンネル情報更新失敗" );
	}
}
?>