Install help
| From: | James Johnson | Date: | Tue, 12 Nov 2002 01:13:53 +0000 |
| Subject: | Install help | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6396@lists.php.net to get a copy of this message | ||
Hello,
I can't get Smarty to work on my dev machine. (Win XP, IIS 5.1, IE 6, PHP 4.2.3) I've got
the following in my php.ini file [include_path = ".;c:\php\includes"] and the Smarty core
files in this directory.
The following scripts produce nothing in the browser:
<-- index.php -->
<?php
require("Smarty.class.php");
$smarty = new Smarty;
$smarty->assign("Name","Ned");
$smarty->display("index.tpl");
?>
<-- templates/index.tpl -->
<HTML>
<TITLE>Hello</TITLE>
<BODY>
Hello, {$Name}!
</BODY>
</HTML>
Thanks,
Jim