hmm. thanks nibbler.
the following is galleryheader.php
"Include your galleryheader.php using a local or absolute server path instead of an URL" Is that what you want?
<?
session_start();
header("Cache-control: private");
include (/includes/dbInfo.php");
$database = "users";
if(!array_key_exists('username', $_SESSION)) {
$access = 1;
}
else {
$username = $_SESSION['username'];
$query = "SELECT * FROM $database WHERE username = '$username'";
$result = mysql_query($query);
$access = mysql_result($result, 0, "access");
}
if($access < $security) {
?> <META HTTP-EQUIV="Refresh" CONTENT="2;URL=<? echo $ihost; ?>pleaselogin.php"> <?
exit();
}
?>
<html>
<head>
<title><? echo $title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="/stfusa.css">
</head>
<body background="<? echo $ihost; ?>images/bg.gif" text="#333333" link="#990000" vlink="#990000" alink="#990000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" cellpadding="0" cellspacing="0" class="bodyborder">
<tr>
<td colspan="2" valign="baseline"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="770" height="148">
<param name="movie" value="/flash/header.swf">
<param name="quality" value="high">
<embed src="/flash/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="148"></embed>
</object></td>
</tr>
<tr>
<td width="25%" valign="top" bgcolor="#32195B"><div align="center">
<?php include(/includes/categories.php") ?>
</div></td>
<td width="75%" valign="top">
<?php
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];
?>