11th June 00:22
Newbie has binner problems with path and directories
here a problem, that there are hundreds of sulutions, but i didnŽt
find one in internet.
I write PHP scripts. In
index.php is <link rel="stylesheet" type="text/css"
IŽam in root dir, or http://www.xyz.de. On the webserver the folder
'functions' exists. All is ok and the formate.css will load.
Now i create a subdir like 'test'. In this subdir i create a new file
test.php with <link rel="stylesheet" type="text/css"
This path cannot found. So i try all variations
.../functions/formate.css -->> this works!
This cannot be, or? So if i have for example ten subdirs, i have to
define ../../../.. and so on...
Then there is the next problem. I i have in include files new path
includes, php will not find the files any more, because if iŽam in
think that is the root dir now ...
There is a server ini with PHP_DO***ENT_ROOT. But the webserver is a
provider and i havent allowness to edit it. The value isnŽt set for
Thank you for any help!