FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

smarty installation

 


alalex
hi everyone, I want to install smarty on my web server, but I'm new to template engines, and I have no idea on how to install!

Ive read the manuals in the smarty homepage, but they seem to be for installation in my computer, since they require access to a unix shell!

If anyone knows what steps should I follow to get smarty to work on my web server, I would much apreciate it!

The web I'm trying to install it on is this: http://urbanoalvarez.es/kdams/
It has php and mysql installed, that should be no problem.

Thanks in advance! Wink
Manofgames
Smarty as in http://smarty.php.net ?
Just drop it in a folder, initialise an instance of it, and you're good to go...
alalex
got it,
just one more thing, can you explain me how to initialise an instance?
As i said, I am completely new to this kind of stuff... Sad
Manofgames
Code:
require_once('path/to/Smarty.class.php');
$smarty = new Smarty;


You might find this useful: http://uk2.php.net/manual/en/language.oop5.basic.php Smile
alalex
thnaks a lot! Very Happy
Reply to topic    Frihost Forum Index -> Scripting -> Website Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.