[UPHPU] Class not working and I don't understand why
thebigdog
bigdog at venticon.com
Thu May 1 13:57:00 MDT 2008
> $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
More information about the UPHPU
mailing list