Re: [SMARTY] Smarty not working under Windows XP and IIS 5.0

From: Date: Fri, 03 Jan 2003 01:59:08 +0000
Subject: Re: [SMARTY] Smarty not working under Windows XP and IIS 5.0
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6994@lists.php.net to get a copy of this message
\\ or / instead of \
From: "Vladimir Kravtsov" <vkravtsov@rogers.com> To: <smarty-general@lists.php.net> Subject: [SMARTY] Smarty not working under Windows XP and IIS 5.0 Date: Thu, 2 Jan 2003 16:30:57 -0800 This is test.php <?php define('SMARTY_DIR','c:\inetpub\wwwroot\newphp\test\'); require(SMARTY_DIR.'Smarty.class.php'); $smarty = new Smarty; $smarty->template_dir = "c:\inetpub\wwwroot\newphp\test\templates\"; $smarty->compile_dir = "c:\inetpub\wwwroot\newphp\test\templates_c\"; $smarty->assign('name','Ned'); $smarty->display('index.tpl'); ?> I'm not sure if that's how it's supposed to be done. My index.tpl is just Hello, {$name}!. When I run test.php, the page is blank. I am running the latest version of Smarty. Thank you in advance for your help. PS: I am also running the latest verision of PHP.
_________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

« previous php.smarty.general (#6994) next »