Yeah, I have got one in perl but wanted to put this in with the php page, make a bit neater.
Can someone start me off with the php script.
Code:
# The title of your page to be displayed
$title = "SelectGuestlist.com | Guestlist service to exclusive nightclubs in London";
# The address of the side frame
$sidepage = "http://www.selectguestlist.com/index/header.htm";
$sidepageright = "http://www.selectguestlist.com/index/right.htm";
$sidepageleft = "http://www.selectguestlist.com/index/left.htm";
#Gets the page from the query string
if ($ENV{'QUERY_STRING'} ne '') {
$command = "$ENV{'QUERY_STRING'}";
}
if ($command) {
$place = $command;
} else {
$place = "$default";
}
##############################################################################
# By default the script makes two frames, split vertically, 155 from the left.
# You should easily be able to edit this to fit your needs
print "Content-Type: text/html\n\n";
print <<EOT;
<HTML><HEAD>
<TITLE>$title</TITLE></HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<frameset rows="*" cols="*,742,*" framespacing="0" frameborder="no" border="0">
<frame src="$sidepageleft" name="left" frameborder="no" scrolling="no" noresize marginwidth="0" id="left">
<frameset rows="180,*" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="$sidepage" name="header" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="header">
<frame src="$place" name="content" frameborder="no" noresize marginwidth="0" marginheight="0" id="content">
</frameset>
<frame src="$sidepageright" name="right" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="right">
</frameset>
EOT