Including a file inside die
Posted: Sat Apr 12, 2003 6:28 pm
Hey I would like to include a file inside a die() function.
Like inside this code:
Like inside this code:
Code: Select all
if (checkLogin() == FALSE)
{
die (
'
<html>
<head>
<title>ї M C 0 ] Login Failed</title>
<link rel="stylesheet" type="text/css" href="layout.css" />
<script language="JavaScript" src="pop_up.js"></script>
</head>
<body>
<div id="Header"><h2></h2></div>
<div id="Content">
Login Failed
</div>
// Would like to include the file here.
</body>
</html>');
Anyone know how to do this?
}
?>