.tpl is not really used by PHP. For the most part in 'nix based OS's, the file extension really has no meaning since the file is executed based on user permissions. A file with a .php extension is executed by Apache since that is what it is told to do. A .tpl file would not be executable by Apache by default. Generally it is really just an include file. A .tpl file is not usually processed by itself but is called (included) by another file. The .tpl extension really just says that it is a template file. You could also have called it file.inc, file.php, file.phtml or merely file.
Mark Irving I have a mind like a steel trap; it is rusty and illegal in 47 states
Which is the statement for .tpl file inclusion in simple HTML, and also in PHP
Does anyone now???
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
Suzanne posted this at 01:42 — 14th August 2002.
She has: 5,507 posts
Joined: Feb 2000
.tpl is a template file. It is used by many languages.
php.net and xml.org
mairving posted this at 10:40 — 14th August 2002.
They have: 2,256 posts
Joined: Feb 2001
.tpl is not really used by PHP. For the most part in 'nix based OS's, the file extension really has no meaning since the file is executed based on user permissions. A file with a .php extension is executed by Apache since that is what it is told to do. A .tpl file would not be executable by Apache by default. Generally it is really just an include file. A .tpl file is not usually processed by itself but is called (included) by another file. The .tpl extension really just says that it is a template file. You could also have called it file.inc, file.php, file.phtml or merely file.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
andcir posted this at 19:00 — 17th November 2007.
They have: 2 posts
Joined: Nov 2007
Which is the statement for .tpl file inclusion in simple HTML, and also in PHP
Does anyone now???
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.