Depending on what local equals depends on which bannertop page should come up. I was doing this through the Get Vars script.
A live example can be found at www.site.com/test
Mind you it brings up a blank area...
<html><head><title>site.com</title>
* BELOW IS WHERE I DEFINE THE VARIABLE***
<?php
$visit= $HTTP_GET_VARS["visit"];
?>
</head><?php
include('http://www.site.com/top_page.php')
?>
</div>
<div align="center"><center> <table border="0" cellpadding="0" cellspacing="0" width="775" height="608" style="border-collapse: collapse" bgcolor="#FFFFFF">
<tr><td colspan="4" bgcolor="#D2D7E5" height="22" width="775"><span class="menu"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1"><tr><td width="50%" align="center"><p align="center"><span class="menu">
********PROBLEM IS BELOW*****
<?php
if ($visit == 'local')
{
print "include ('http://www.site.com/111bannertop.php')" ;
}
else
{
print "include('http://www.site.com/bannertop.php') " ;
}
?>
********PROBLEM IS ABOVE*****
</td> </tr></table></span></td></tr>