Please Help!
| From: | E K L | Date: | Tue, 03 Apr 2001 02:52:10 +0000 |
| Subject: | Please Help! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46746@lists.php.net to get a copy of this message | ||
Hi Experts,
It seems to me that, the topic is not attractive or challenging that makes nobody come to problem. But I really hope those experts or experiance ppl can give me ur hands. Please Help!
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.