I have some problems with the css file when including PHP pages so I need to set the full server path here like this:
<link rel="stylesheet" type="text/css"
href="<?php echo $_SERVER["REQUEST_URI"];?>/css/cssfile.css">
The problem is that the css file is not in root but like this:
domain.com / folder / subfolder / css / cssfile.css
Because I run the same copy of the design and the names of the folders and subfolders are different I would like to set the full path of the css file / absolute ) but in PHP in some way
I tried the example above but is not working. What I need is something like
<link rel="stylesheet" type="text/css"
href="<?php echo $_SERVER["
GET CURRENT DOMAIN / FOLDER / SUBFOLDER"];?>/engine/default.css">
Is there a way to do this?