PDA

View Full Version : What's PHTML?


keress
10-04-2005, 10:39 PM
I have a potential client who wants me to take over his site. It's in an extension called .phtml, which I've never heard of before. It will read in Dreamweaver if I change the extension to .htm or .php, but it looks "funny" as code, it's in a different font than usual, a sans-serif font, instead of the usual serif font, if you've ever seen what I mean -- I guess it's a way for Dreamweaver to flag a file that it didn't generate? If I take the code and drop it in a blank page, replacing a few lines at the top, it will look "normal."

So, my question is, what the heck is .phtml? Why has it been used, and what will I likely mess up if I have to go an rename all these extensions?

ranjan
10-05-2005, 02:01 AM
http://www.faqts.com/knowledge_base/view.p...aid/9546/fid/51 ('http://www.faqts.com/knowledge_base/view.phtml/aid/9546/fid/51')

domedia
10-05-2005, 02:52 AM
.phtml is just another extension used for pages that should be parsed by PHP (some people also use .php4)

And to make Dreamweaver make .phtml pages' code not look 'funny', read the primer on how make DW understand them:
http://www.dreamweaverclub.com/dreamweaver-phtml-inc.php ('http://www.dreamweaverclub.com/dreamweaver-phtml-inc.php')