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
https://forums.phpfreaks.com/topic/123993-relative-and-absolute-urls-please-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.