about summary refs log tree commit diff stats
path: root/update/library/trunk/subscription.php
blob: 6fe019756fd33028be7c44a75c9a5012b4a40e03 (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
<?php

/* InstaDisc Update - A Four Island Project */

include('instadisc.php'); // Make sure that if you move me away from instadisc.php that you update this include!

$id = (isset($_GET['id']) ? $_GET['id'] : 0);

echo('Subscription: ' . $idusSubscriptionURI[$id] . "\n");
echo('Title: ' . $idusSubscriptionTitle[$id] . "\n");
echo('Category: ' . $idusSubscriptionCategory[$id] . "\n");

if ($idusActivationKey[$id] != '')
{
	echo('Key: ' . $idusActivationKey[$id] . "\n");
}

if ($idusEncryptionKey[$id] != '')
{
	$verID = rand(1,65536);

	echo('Verification: ' . md5($idusSubscriptionTitle[$id] . ':' . md5($idusEncryptionKey[$id]) . ':' . $verID) . "\n");
	echo('Verification-ID: ' . $verID . "\n");
}

?>