Mercurial > epgrec.yaz
annotate setChannelInfo.php @ 127:134fced37df5
mod: 改行コード
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 17 Mar 2010 18:14:19 +0900 |
parents | b491e7136044 |
children |
rev | line source |
---|---|
127 | 1 <?php |
2 include_once('config.php'); | |
3 include_once( INSTALL_PATH . "/DBRecord.class.php" ); | |
4 include_once( INSTALL_PATH . "/Settings.class.php" ); | |
5 | |
6 | |
7 if( isset($_POST['sid']) && isset($_POST['channel_disc']) && isset($_POST['skip']) ) { | |
8 | |
9 try { | |
10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); | |
11 $crec->sid = trim($_POST['sid']); | |
12 $crec->skip = (int)(trim($_POST['skip'])); | |
13 } | |
14 catch( Exception $e ) { | |
15 exit("Error: c潟掩贋医け" ); | |
16 } | |
17 } | |
126 | 18 ?> |