|
Posted by Jerry Stuckle on 05/09/06 22:22
Chris wrote:
> I'm working on a large intranet group site with a lot of pages, file types,
> folders, subfolders, etc. I am using the include ('../includes/file.php') ,
> but I would like to have a single snippet that will work for all .php/.html
> pages in all subfolders. I have seen the $_SERVER['DOCUMENT_ROOT']
> indicated as a way to access the root of the website without using ../ for
> each folder you have to pass up through. However, I cannot get this to work
> for me. I've seen recommendations for it's use in FAQs, etc. online, they
> all seem to be a little bit different, but none of the formats (assign to a
> variable, etc.) work for me. We're using PHP 4.3.2
>
> Can someone give me some guidance on the use of this?
>
> Thanks,
> Chris
>
>
>
Chris,
What webserver are you using?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|