Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »General Web Design Forum

Notices

General Web Design Forum Discuss General Web Design Issues


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2008, 05:05 AM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 07-02-2008, 08:21 AM
PR Design's Avatar
CSS Wizardry -- Not Gay!
 
Join Date: May 2007
Location: Yorkshire, England
Gender: Male
Posts: 5,849
Default

Use the < base > html tag. It resets the path to a different directory level/location.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 07-02-2008, 08:32 AM
Junior Member
 
Join Date: Feb 2008
Posts: 6
Default

Thank you PR Design, all respect.
Quote:
Originally Posted by PR Design View Post
Use the < base > html tag. It resets the path to a different directory level/location.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
A simpletons dynamic php site prydie Programming Forum 4 23-03-2008 10:40 AM
Dynamic Flash Photo Gallery kip Flash Forum 8 17-03-2008 01:27 PM
Scripting a dynamic \ XML Video Gallery PolarBear Flash Forum 2 09-03-2008 12:14 AM
Dynamic Flash Photo Gallery Graphic Design Links Graphic Design Links 0 07-03-2008 11:51 AM
PHP and dynamic stuff PolarBear Programming Forum 3 08-11-2007 06:49 PM


All times are GMT. The time now is 10:32 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0