$masterPage = new MasterPhpPage('_snippets/__xhtmlTransitionalDTD.php',
'index.php', 'Home | Nathandelane', 'pages/homepage.php');
require_once($masterPage->getDocType());

Where the contents of '_snippets/__xhtmlTransitionalDTD.php' are simply:

<?php
    echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd";>';
?>

Instead I get a file not found for the
'_snippets/__xhtmlTransitionalDTD.php' file. Can anybody help me?

the construct require_once is looking for a file to be passed to it...which the error is looking for the that document.

--
thebigdog

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to