Jump to content

Relative and Absolute URLs -PLEASE HELP


edkellett

Recommended Posts

I am being driven crazy by this... and it is probably a simple solution...

 

I am desinging a site in PHP with MySQL DB... and using Dreamweaver for layout etc...

 

I use includes a lot and want to know can I use absolute paths and how is this done. For example can I have an absolute path to the root of the web folder so that I can define the images/ folder and just put that in and know that whether I refer to it from the admin folder or from the root folder or a folder 3 levels deep it will still work... adn basically how do I do this in my local environment and also on the web...

 

I am using IIS... so localhost...

 

 

Anyone help?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.