Cheetah
All Classes Namespaces Files Functions Variables Pages
get_rss_feed.php
Go to the documentation of this file.
1 <?php
2 
8 require_once( '../../../inc/header.inc.php' );
9 require_once( CH_DIRECTORY_PATH_INC . 'db.inc.php' );
10 
11 $sMemberRSSSQL = "SELECT `RSSUrl` FROM `ch_crss_main` WHERE `ID`='". (int)ch_get('ID') ."' AND `Status`='active'";
13 
14 if( !$sCont )
15  exit;
16 
18 
19 header( 'Content-Type: text/xml' );
20 readfile( $sUrl );
header
</code > Be careful enabling this directive if you have a redirector script that does not use the< code > Location</code > HTTP header
Definition: URI.MungeResources.txt:10
ch_get
ch_get($sName)
Definition: utils.inc.php:1664
$sCont
$sCont
Definition: get_rss_feed.php:36
php
$sMemberRSSSQL
$sMemberRSSSQL
Definition: get_rss_feed.php:11
exit
exit
Definition: cart.php:21
$sUrl
$sUrl
Definition: get_rss_feed.php:43
db_value
db_value($query, $bindings=[], $error_checking=true, $index=0)
Definition: db.inc.php:98