I am trying do drop a pieces of code for a random text display into my files. I can get it working just fine with .php extension however if i put the text into a file with an extension of .htm or .html it is not parsed as php code. Alternativly if i change the working php file to an extension of either one of those (.htm or .html) it is not parsed as php code.
I know this is a newb question and ti kills me that i cant figure this one out haha
thanks in advance
j. michelin
<<EDIT>>
Ok, I think i figured this out, do i need to tell apache that .html and .htm files need to be process as php?
i.e.
AddType application/x-httpd-php .htm .html
and will this mess up things across the board if i do add this to my conf file?
<<EDIT>>