.tpl and .xml

They have: 21 posts

Joined: Nov 2001

Where can I find some resources on .tpl file???
How about XML with PHP???

Suzanne's picture

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's picture

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

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.