Something is Broken

Messages
43
Reaction score
0
Points
0
I just want to let you all know that something is broken, PHP won't work on a page with an '.html' file extension when I have an '.htaccess' file that as the first line has
Code:
AddHandler application/x-httpd-php .html .xml .inc

When will this problem be fixed?
 

Coonz

New Member
Messages
132
Reaction score
1
Points
0
yea thats usually how works if u have php coding in a html file change the extension to .php

try changing it to .php not like it will hurt anything
 
Last edited:
Messages
43
Reaction score
0
Points
0
NO. It did work for ages the way I said I did it but then one day it stopped working. I didn't change anything, it just stopped working. I want the thing that made my thing work to work again.
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
What is so hard to just rename the file to .php??? The html and javascript will still work.
 
Messages
43
Reaction score
0
Points
0
If I renamed that file to end in .php I would need to rename all my files to .php because none of them work.

I think this is a problem with the server, will Corey be able to fix it?

Okay it is more serious than I thought. I really need php to work on pages with the file extension '.xml' because there is php there that makes the feeds update themselves. If I can't get them to update themselves I have to do it manually.

When will you fix this problem Corey? Can you make php work on .html, .inc and .xml file extensions if I put the code telling it do so in .htaccess?
 
Last edited:
Top