Forum Moderators: coopster

Message Too Old, No Replies

Getting Dreamweaver to show php includes in .htm pages in Design View

works for .php pages, but not .htm

         

donok

6:23 pm on Nov 20, 2009 (gmt 0)

10+ Year Member



I see people have asked this in the past, but I thought I would try again.

Dreamweaver will parse (is that the right use of that word?) simple includes on my .php pages, but my .htm pages that have php includes just show the yellow php badge.

Is there a fix/setting for this?

thanks,
Don

rocknbil

8:00 pm on Nov 20, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is because html files are not parsed as PHP.

You may have your server set to do this, but as far as DW goes, you'd have to somehow figure out how to tell it to parse .html files as PHP.

donok

8:18 pm on Nov 20, 2009 (gmt 0)

10+ Year Member



Yea - my host has it working fine for me, it all works great from their servers, it's just Dreamweaver that is failing to preview