Web Hosting Talk







View Full Version : .phtml , What is it?


shahed
12-07-2002, 07:12 PM
I have a site which has all files on .phtml , the reason I did it because I was generating all html pages from a cgi script and I had a php script script for membership. So I included those php script on header and generate .phtml and it worked. I didn't heard about phtml before so I did it after getting suggesions from someone. Now I'm moving to a new server and they are saying that they do not support .phtml because its too old. Now I really need to move to that server(because all of my domains are there) , what should I tell this guy about it. or what should I do?
my site current url is :
http://surerbhubone.com/music/index.phtml

Shahed

The Prohacker
12-07-2002, 08:01 PM
Its a PHP file extension from 2.x I beleive.. Yes very old.. But easy to make used by the server....

As long as the code works with later version of PHP...

If your hosting on Apache, then make a .htaccess in the dir of the phtml files with this in it:

AddType application/x-httpd-php .phtml