<?php
session_start();
$_SESSION[ 'fileprefix' ] = base_convert( date('ymdHis'), 10, 36 ); // REPLACE
$sFilePrefix = $_SESSION[ 'fileprefix' ];
//require_once '_layout_functions_.php'; // UNCOMMENT
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>XHTML 1.1</title>
<?php ini_set('display_errors', '1'); ?>
<meta http-equiv="Content-Type" content ="text/html charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta name="author" content="James W. Friedman" />
<meta name="keywords" content="Something, else" />
<meta name="description" content="What does this do?" />
<link rel="stylesheet" type="text/css" href="<?php echo $sFilePrefix; ?> _style_.css" />
</head>
<body>
<div id="div_content">
<?php
$br = "<br />\n";
$sFS = '/';
$sES = '';
$aURL = explode( $sFS, $_SERVER[ 'HTTP_HOST']. $_SERVER[ 'PHP_SELF' ] );
$sFileName = array_pop( $aURL );
echo implode( $sES, array( 'URL: ', implode( $sFS, $aURL ), $sFS, $br ) );
$aSFN = explode( $sFS, $_SERVER['SCRIPT_FILENAME'] );
$sFileName = array_pop( $aSFN );
echo implode( $sES, array( 'SERVER PATH: ', implode( $sFS, $aSFN ), $br ) ) ;
echo 'File Prefix: ' . $sFilePrefix;
//require_once $sFilePrefix . '_content_.php'; // UNCOMMENT
?>
</div>
<!-- #content -->
<!--script type="text/javascript" src="<?php echo $sFilePrefix; ?>_javaScript_functions.php"></script-->
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
</body>
</html>