Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Help -- relative path and include
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Help -- relative path and include

 Post Reply Post Reply
Author
boyohboy View Drop Down
Groupie
Groupie


Joined: 15 October 2002
Location: United States
Status: Offline
Points: 197
Post Options Post Options   Thanks (0) Thanks(0)   Quote boyohboy Quote  Post ReplyReply Direct Link To This Post Topic: Help -- relative path and include
    Posted: 07 March 2003 at 12:04pm

I'm really struggling to integrate a bunch of apps into a website when it comes to glue them all together and the apps are separated into their own directories. Note, I'm using relative path cuz migration will be easier.

say:

/sharedgraphics/graphic.gif
/commonfile1.asp
/commonfile2.asp
/forum/files.asp
/specials/specials1/index.asp
/specials/specials2/index.asp

commonfiles.asp's and commongraphics are to be used throughout the site (or on several apps)



Edited by boyohboy
Visit my community website @
EverythingVIET.com
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 1:01pm
Well there you see the beauty of virtual paths'. You would not have to worry about that. Using a relative path makes it hard to impossible to use the same include statement in different directories.
Back to Top
boyohboy View Drop Down
Groupie
Groupie


Joined: 15 October 2002
Location: United States
Status: Offline
Points: 197
Post Options Post Options   Thanks (0) Thanks(0)   Quote boyohboy Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 1:08pm
elaborate, my good friend.

I have some idea about virtual path but never had use it.

Set the virtual path on common/shared files????
Visit my community website @
EverythingVIET.com
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 2:44pm
Well using include virtual, enables you to use the same code in any folder you might be because you always point from the web root. So if you have file inside the 5th down folder it does not matter where you call it from as the point ssi starts to look for the file is always the root. I believe MorningZ had an exellent tutorial/lesson before the forums was wiped maybe he still has the text flying around somewhere.
Back to Top
boyohboy View Drop Down
Groupie
Groupie


Joined: 15 October 2002
Location: United States
Status: Offline
Points: 197
Post Options Post Options   Thanks (0) Thanks(0)   Quote boyohboy Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 5:08pm
Thanks, I'll look into that.
Visit my community website @
EverythingVIET.com
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.