<?
/
My problem is that i want to put a link next to the you came from... that is the url? so the users can kill the frame
if I put echo $url it ends up as nothing
eg. http://www.localhost.com/index.php?url=http://www.outdoorhost.com
/
?>
<?
Outdoor links
if (isset($url)) {
?>
<head>
<title>[ hagman.trance.nu ]</title>
</head>
<frameset framespacing="0" rows="22,*">
<frame frameborder="1" name="top" scrolling="no" noresize src="<?=basename($PHP_SELF); ?>?linkout=outdoor">
<frame frameborder="0" name="main" src="<?=$url;?>" scrolling="auto" noresize>
</frameset>
<?
include "footer.php";
}
?>
<?
Top Frame
if ($linkout=="outdoor") {
?>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>[ hagman.trance.nu ]</title>
<style>
<!--
body {
background-color: #E1EDF2;
font-family: Verdana, Tahoma, Arial;
font-size: 8pt;
}
//-->
</style>
</head>
<body topmargin="3" marginheight="3">
<center>You came from [ <b>hagman</b>.trance.nu ]</center>
</body>
<? } ?>