Search found 3 matches

by grahamporter
Mon Feb 04, 2008 6:02 am
Forum: PHP - Code
Topic: Problem defining paths inside included PHP file
Replies: 4
Views: 125

Re: Problem defining paths inside included PHP file

Thought so.

Thanks for the assist.
by grahamporter
Mon Feb 04, 2008 3:36 am
Forum: PHP - Code
Topic: Problem defining paths inside included PHP file
Replies: 4
Views: 125

Re: Problem defining paths inside included PHP file

Thanks for the reply. Can't use the "../" syntax in the include file as it's included into pages in two different directories, but the absolute path seems to have done the trick. One more silly question. When I publish the site I assume I'll have to change the references to localhost to th...
by grahamporter
Mon Feb 04, 2008 3:12 am
Forum: PHP - Code
Topic: Problem defining paths inside included PHP file
Replies: 4
Views: 125

Problem defining paths inside included PHP file

I'm setting up my first website using DW8/PHP5 and apache for local testing. I've created a PHP file with code for a navigation bar which has html code pointing at various images. When I create pages in the site root directory this works fine, as the html image links are set to "images/some.gif...