Hi Everyone.
I have a quick question which I hope someone can help me with.
What I would like to achive if possible; is the ability to refference an image and files using only a forward slash; like the following <img src="/image.png" /> for each of my projects.
I have noticed using the / defaults to the htdocs folder as default.
My question is ...
Is there any way possible that I XAMPP will understand the folder I am working in (for example: project1) and set the root as htdocs/project1
If I have another project called project2; and use a forward slash there; it would therefore look for my root to be htdocs/project2.
If anyone knows if this is possible it would be much appriciated.
Thank you.