Thanks for your response but I think you've misunderstood me.
I have designed a layout for a site making use of php include files. Other designers (not familiar with php) will be working independently from me on the central content part of each page. They use Dreamweaver.
As they work on adding the content, I'd like them to be able to see the include files on the page - so that they can see the entire page as they add content, without having to upload it. This gives them a better sense of what colours to use, and they are used to seeing the full page as they work.
However I found that if I use a line of code such as:
Dreamweaver doesn't show it - so the designer can't see what the page looks like unless they upload it.
I then tried the following line:
This showed up in dreamweaver - so that designers could see what the "final" page looked like. When I uploaded it and made it live however the include files failed to appear - the above path doesn't seem to be valid php.
So I investigated a little more, and changed the line to:
...which works fine on the server - but doesn't appear on Dreamweaver.
The one way in which I can get Dreamweaver to show the include files is to use relative addressing - such as:
I'll use this if I have to - but its a bit of a pain as I use lots of sub directories hence will have to do "../../../include/bottom/index.inc" a lot! I'm also used to using paths such as "/contact-us/" for links, and "/images/logo.jpg" (so that I can easily copy pages into other directories without having to change any links).