| 1:11 pm on Aug 14, 2007 (gmt 0)|
Use the actual server directory path.
[edited by: SixTimesEight at 1:11 pm (utc) on Aug. 14, 2007]
| 1:15 pm on Aug 14, 2007 (gmt 0)|
|Can I use ($_SERVER['DOCUMENT_ROOT'] in the path in some way? |
I don't know how that can be done, but it is interesting to find out.
How about just going one step up from the root "../folderabove".
Apologies if this is offtopic but I want to know
a CSS stored in this folder, would it be ok with search engines?
| 1:23 pm on Aug 14, 2007 (gmt 0)|
Yes, actual server directory path - that worked. Many thanks.
I can't use '../folderabove' because the .php include exists at various folder levels on the site, so the path has to be absolute.
[edited by: Patrick_Taylor at 1:26 pm (utc) on Aug. 14, 2007]
| 1:24 pm on Aug 14, 2007 (gmt 0)|
<edit>Your edit answered my question </edit>
[edited by: Habtom at 1:25 pm (utc) on Aug. 14, 2007]
| 2:07 am on Aug 15, 2007 (gmt 0)|
There is a tip on how to accomplish this very task in our PHP Forum Library [webmasterworld.com] in the thread titled Good PHP solutions to small problems [webmasterworld.com] (very last message in the thread).