Hi Experts,

I'm planning to build a template but failed to do so....

Here is the code:

<?

include "class.FastTemplate.php";

$tpl = new FastTemplate("../usr/local/apache/htdocs/toplevel.tpl");

$tpl->define(array("toplevel" => "toplevel.tpl"));

$tpl->assign("title", "R U THEre");
$tpl->assign("content", "try this out");

$tpl->parse("main", "toplevel");

$tpl->FastPrint();

?>

error:
Warning: Failed opening 'class.FastTemplate.php' for inclusion 
(include_path='.:/usr/local/lib/php') in /usr/local/apache/htdocs/tem.php on 
line 3

Fatal error: Cannot instantiate non-existent class: fasttemplate in 
/usr/local/apache/htdocs/tem.php on line 5

Please consult, thanks...

E K
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to