I have a site which I will have includes for the header and footer. There will be many levels of folders so the document relative path wouldn't work.
I'm using IIS for my development server. So I have the wwwroot folder in which I have all my websites and stuff... one folder is for that site. If I use this:
Code: Select all
<img src="/images/banner.jpg">What I wanna know is, is there a way to change to root directory so I can use /images/image.jpg for my images and includes?
I know on the website server that's not an issue.
Can I configure IIS to change that or is there any other way?
my site is in php btw.