AW: [SMARTY] Using Smarty on Web Hosting Site
| From: | Mario Deutschmann | Date: | Tue, 17 Sep 2002 13:15:57 +0000 |
| Subject: | AW: [SMARTY] Using Smarty on Web Hosting Site | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5984@lists.php.net to get a copy of this message | ||
create directory:
/pathtomydirectory/mytest
/pathtomydirectory/mytest/smarty
unzip the latest smarty package (2.3 imho) into
/pathtomydirectory/mytest/smarty
create index.php under
/pathtomydirectory/mytest
--- begin: index.php -------------------
define('SMARTY_DIR', './smarty/');
include_once(SMARTY_DIR.'Smarty.class.php');
$tpl = new Smarty;
[...]
--- end: index.php -------------------
that's all.
> -----Ursprungliche Nachricht-----
> Von: Dave Borg [mailto:dborg@powersurfr.com]
> Gesendet: Dienstag, 17. September 2002 15:06
> An: smarty-general@lists.php.net
> Betreff: [SMARTY] Using Smarty on Web Hosting Site
>
>
> It is not clear to me on how to install Smarty to a web
> server hosted by
> someone else. It appears that I need access to root
> directories on the
> hosting server. I only have access to my domain directories.
>
> Can I install and use Smarty completely within my domain
> directories. If
> so, some tips on pathing would be helpful.
>
> Thanks,
>
> Dave
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>