blob: 81c3870915eec0050f07e5abd397f12841c4e4c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php
/* InstaDisc Series - A Four Island Project */
include('includes/instadisc.php');
if (!isset($_GET['id']))
{
header('Location: ./index.php');
exit;
}
if (!instaDisc_subscriptionExists($_GET['id']))
{
header('Location: ./index.php');
exit;
}
$sub = instaDisc_getSubscription($_GET['id']);
echo('Subscription: ' . $sub['url'] . "\n");
echo('Title: ' . $sub['title'] . "\n");
echo('Category: ' . $sub['category'] . "\n");
if ($sub['password'] != '')
{
echo("Password: On\n");
}
echo('Series-Control-URL: http://' . $_SERVER['SERVER_NAME'] . str_replace(basename($_SERVER['PHP_SELF']), 'xmlrpc.php', $_SERVER['PHP_SELF']) . "\n");
echo('Subscription-ID: ' . $_GET['id'] . "\n");
?>
|