i have a website which has this structure:
- /ROOT DIRECTORY/
- Product/
- products.php
- products.php
- Product/
CSS/
- style.css
index.php
so here's the problem: index.php links the style.css with relative path like so "../CSS/style.css"
and products.php includes index.php using include "../index.php"
but the css isn't being included because NOW index.php is in the same folder as products.php so relative path won't work !!
is there any solution a part from absolute path because i don't want people to know the structure of my project
if there is not can you give me the absolute path or can i somehow hide the absolute path from the user
thank you in advance for your time