View Single Post
Old 08-01-2007, 11:29 AM  
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Well, in a case like that, they include some html to load their top frame and use a variable "q", which is the url they display in the main frame. I'm not real good with frame anymore so you are going to have to figure out the columns, rows, frame border, etc, but it would be something like this: (this is all one file - "out.php")

<?php

$q = $_SERVER["QUERY_STRING"];


?> // this grabs the variable "q" which is the various pages they are linking to and must be placed before the html tag

<html>
<head>
<title>My Page</title>
</head>
<frameset>
<frame src="myframe.html" />
<frame src="<?php echo('$q'); ?>" /> // loads the url called in the variable
</frameset>
</html>
__________________

Last edited by Lycanthrope; 08-01-2007 at 11:30 AM.. Reason: comments
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook