Mercurial > epgrec.yaz
diff channelSetSID.php @ 78:ded62b253bca
new file: channelInfo.php
new file: channelSetSID.php
new file: install/grscan.php
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 24 Feb 2010 20:23:03 +0900 |
parents | |
children | 49145003e6a3 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/channelSetSID.php Wed Feb 24 20:23:03 2010 +0900 @@ -0,0 +1,17 @@ +<?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']) ) { + + try { + $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); + $crec->sid = trim($_POST['sid']); + } + catch( Exception $e ) { + // 無視 + } +} +?> \ No newline at end of file