dark light

"Phtml" ?

Hi

I was looking at a website today and the file type was “phtml”

What is this exactly ?

I thought all php pages had to have a .php file name.

Is this something to do with a script language similar to pages with “shtml” using the shtml file name ?

Member for:

19 years 1 month

Posts:

1,229

Send private message

By: andrewman - 12th March 2004 at 00:23

Thanks 2 both of you for the help.

Member for:

19 years 1 month

Posts:

2,195

Send private message

By: ELP - 11th March 2004 at 23:07

You can set up an Apache web server to use just about any file extension to send to the PHP engine to parse. ( look at your Apache config file ) There is a line in there where you set the file extention you want the webserver to recognize as the kind of file you want it to send to the PHP engine to parse. In that line you tell it that lets say file extensions: php, php3 are the ones you want. So when you make a php file the webserver will read it and send it to the php engine to parse. Either there is some special php content management software or other special software that uses that exension you mentioned or the person wanted that file extension for any number of reasons.

Sign in to post a reply