Topic: Utilizing extern.php on the same server...
Hi there,
I want to utilise the extern.php for dropping RSS links into each section. But I don't wish to visibly link to the extern.php, I've attempted two methods, both of which have failed...
Method 1
<?php
$forum = $_GET['id'];
header ("Content-Type: text/xml");
header ("Content-Disposition: inline; filename=http://bbs.dontassrape.us/extern.php?action=active&fid=$forum&type=rss");
?>
Method 2
<?php
$forum = $_GET['id'];
header ("Content-Type: text/xml");
include ("http://bbs.dontassrape.us/extern.php?action=active&fid=" . $forum . "&type=rss");
?>
Ohh, and as you can see, the forum is up at http://bbs.dontassrape.us.
If anyone would know a better way of which to do this, please inform.