Mercurial > epgrec.yaz
annotate 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 |
| rev | line source |
|---|---|
| 78 | 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']) ) { | |
| 8 | |
| 9 try { | |
| 10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); | |
| 11 $crec->sid = trim($_POST['sid']); | |
| 12 } | |
| 13 catch( Exception $e ) { | |
| 14 // 無視 | |
| 15 } | |
| 16 } | |
| 17 ?> |
