i have resources on my webserver (local) and this system has a specific folder structure and way of doing things. currently the way that i have it i include the files that i need and work from there. takes alot of the guess work out of knowing how to do my includes in other files.
now, my images are in a folder from the root index called "images". so it looks like this:
Code: Select all
index.php
+---images
+---templates
+---includesi would prefer to tell it where it is in a fashion like i do includes. relative to the folder that is including. so, for instance. when i am in the index.php and i include something the include structure is relative to index.php. not the URL.
so i wanted my html/code to end up looking like
<img src="templates/default/styles/error.css"></img>
and not like:
<img src="http://localhost/framework/templates/de ... css"></img>
thanx for the help
[edit] and yes. i have tried giving it the EXACT path to the content