[pLog-general] Including PHP
bcliang
bcliang at gmail.com
Thu Dec 9 01:38:57 GMT 2004
It is generally bad practice to include code in a template file, this
is what you're looking for. Since the files are processed by the
smarty engine, you must use the tags included in smarty.
{php}
include("this_file.php");
{/php}
Hope that helps,
Brad Liang
P.S. Finally back here checking the mail list
On Thu, 9 Dec 2004 11:52:37 +1300, Mike Welsh <yomcat at yomcat.geek.nz> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I was trying to include a file into the blueish template via PHP. Just
> editing the .template file outputted <?php include("this_file.php") ?>
>
> How would I get around this and import the file?
> - --
> http://yomcat.geek.nz
> http://nztuatara.co.nz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFBt4W18HRyQQw3+q0RAsZuAJ93sOGLJxti95TXVY1w5qwxw2CCbQCfdFXO
> e/03l8yAgiMjFB+shsGyS0s=
> =RzPs
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> pLog-general mailing list
> pLog-general at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-general
>
--
bcliang_at_gmail_dot_com
More information about the pLog-general
mailing list