Skip to content

Instantly share code, notes, and snippets.

Created June 19, 2012 00:11
What would you like to do?
$page = 'original_home_page.html';
if(isset($_GET['page']) && !empty($_GET['page'])) $page = $_GET['page'] . '.html';
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Cool Site</title>
<frame src="header.html" />
<frame src="<?= $page ?>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment