I was looking for smarty i somehow cant look both code in one file its hard to maintain isn't it?
I woul need some help.
Installation - Windows, IIS/Apache, PHP5
Extract files, rename Smarty.x.x.x to smarty (suggest OUTSIDE of your www root!)
Example: d:\smarty
Run phpinfo.php to find out your php.ini location
Edit php.ini's include_path and add the location of the libs folder.
example: include_path = ".;d:\smarty\libs" ////// what mean .; phpinfo does show right path (include_path = ".;D:\Server\Smarty\libs" ) is thise ok
Restart IIS/Apache//yes
Setup these two folders INSIDE your www root: //// is thise mean just make folders
(wwwroot)/smarty/templates (this is where your templates will go)/ //D:\Server\www\Smarty\templates
(wwwroot)/smarty/configs
Setup these two folders OUTSIDE of your www root:// same 2 more folders
d:/smarty/templates_c
d:/smarty/cache
http://news.php.net/php.smarty.dev/2703
first example does give me error
Warning: Smarty error: unable to read resource: "index.tpl" in D:\Server\Smarty\libs\Smarty.class.php on line 1092
Should in change those directories in example(look link).
Does every server need smarty installed for displaying those pages?