<?php
extract($_GET);
$page['index'] = "http://www.logisticdesigns.biz/index.html";
$page['rotation'] = "http://www.logisticdesigns.biz/advertise/rotation.html";
$data = @implode ('', file($page[$location]));
if (!$data){
exit("404: page does not exist");
}
else
{
echo $data;
}
?>
I would try this... of course instead of using file() and echoing the page... why not just use header() and redirect to that page.... (unless of course you are linking a site inside your site... so they dont actually leave your page per se)