Welcome to WebmasterWorld Guest from 18.204.227.250

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

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

works for .php pages, but not .htm

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

Junior Member

10+ Year Member

joined:Dec 2, 2003
posts: 45
votes: 0


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

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

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


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.

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

Junior Member

10+ Year Member

joined:Dec 2, 2003
posts: 45
votes: 0


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