faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

560 of 629 people (89%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

What is PHTML ? Is it the same thing as PHP ?

Jan 24th, 2009 09:08
Brad Kint, healthy man, gaurav sabharwal, dman, Philip Olson, urge overkill, Fred David, http://www.ttnr.org, http://www.itchimes.com


Web servers, such as apache, allow us to define our own extensions.  
Some people (not many) choose to run their PHP files via the .phtml 
extension.  It's typical to see .php and .php3
For apache, you'll want to load httpd.conf and find/edit a line in 
similar fashion to :
  AddType application/x-httpd-php .php .php3 .phtml .foo
Essentially, the above means that PHP will parse .php .php3 .phtml 
and .foo files on this server.  Notice how we can put anything, such 
as .foo
If you're running PHP3, it would look like :
  AddType application/x-httpd-php3 .php .php3 .phtml .foo
------------------------------
PHTML is an extension often given to PHP-generated web pages. 
http://www.itchimes.com
http://forsakringguide.blogspot.com
http://ghiddeasigurare.blogspot.com
http://guidedelassurance.blogspot.com
http://reiseneuropa1.blogspot.com
http://europadecalatorie.blogspot.com
http://reizeneuropa1.blogspot.com
http://rejsereuropa.blogspot.com
http://consiglibellezza1.blogspot.com
http://www.healthdothealth.com
http://www.healthxhealth.com
http://www.mesotheliomainmesothelioma.com
http://www.healthfirewall.com
http://www.flathealth.com
http://www.healthbodyguard.com