JefPatat Posted March 5, 2007 Share Posted March 5, 2007 Hi all, I have been playing around with php for some time, but now I notice my new hosting provider is changing *.htm as *.php. *.html stays. Any ideas? I don't really know where to start looking. www . jefspalace . be / readme . htm and .html , they both exist. Link to comment https://forums.phpfreaks.com/topic/41317-htm-as-php/ Share on other sites More sharing options...
chronister Posted March 5, 2007 Share Posted March 5, 2007 Just so I am clear.... Your host is automatically changing the extension .htm to .php? Is that right? Just out of curiosity, what is the problem with this? .htm I believe is a Microsoft creation, .html is the proper way to name your files. On most web hosts, your php pages have to be called .php. Some hosts may configure .html files to be parsed for php, but not many. Link to comment https://forums.phpfreaks.com/topic/41317-htm-as-php/#findComment-200213 Share on other sites More sharing options...
JefPatat Posted March 5, 2007 Author Share Posted March 5, 2007 The problem is I'm using a drupal plugin which is using htm pages. If it is parsing htm as php and the pages do not open this is a problem which I would like to see solved, can't I do something about it? Link to comment https://forums.phpfreaks.com/topic/41317-htm-as-php/#findComment-200223 Share on other sites More sharing options...
chronister Posted March 5, 2007 Share Posted March 5, 2007 well, I would check with your host and see if they do indeed allow .htm extensions and see if they have it configured to parse php scripts in .htm or .html files. Thats about all I got on this.... sorry if it don't help. Link to comment https://forums.phpfreaks.com/topic/41317-htm-as-php/#findComment-200243 Share on other sites More sharing options...
willpower Posted March 5, 2007 Share Posted March 5, 2007 I cant see any evidence of it being changed or rendered as PHP...how have you come to this conclusion Link to comment https://forums.phpfreaks.com/topic/41317-htm-as-php/#findComment-200258 Share on other sites More sharing options...
boo_lolly Posted March 5, 2007 Share Posted March 5, 2007 the drupal forums are your best resource regarding this matter. Link to comment https://forums.phpfreaks.com/topic/41317-htm-as-php/#findComment-200354 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.