View Single Post
  #1 (permalink)  
Old 07-02-2008, 06:05 AM
x_zero x_zero is offline
Junior Member
 
Join Date: Feb 2008
Posts: 6
Default Dynamic Site, directory help

Hello everyone I'm new here. I am building a site with many pages and trying to make it as simple as possible to manage in the future. I have a separate header page which contains the navigation and a flash object, also the a separate footer page. I import these pages into my index.php page using the (php) include function.
(also new to php, just learning the basics)

Here is were the problem comes in I have a directory called fleet (limo site) which has pages of each limo. I can't include the header and footer because the header objects have a different path.

I know that having the direct path (http://www.etc..) would solve this problem or having all the path go back (../) to the root folder. However I can't use these solutions because its not going to work on my local testing server. I don't feel like uploading files to often (uploading speed isn't so fast).

If someone knows what I'm talking about please help and inform me of the solution, thanks in advanced.
Reply With Quote