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

From: Date: Fri, 03 Jan 2003 02:22:05 +0000
Subject: Re: [SMARTY] Smarty not working under Windows XP and IIS 5.0
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6995@lists.php.net to get a copy of this message
thank you very much. this fixed my problem. :) ----- Original Message ----- From: "xuefer tinys" <xuefer@hotmail.com> To: <vkravtsov@rogers.com>; <smarty-general@lists.php.net> Sent: Thursday, January 02, 2003 5:59 PM Subject: Re: [SMARTY] Smarty not working under Windows XP and IIS 5.0 > \\ 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 > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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