|
Posted by Jerry Stuckle on 09/06/05 19:20
> Hi Jerry,
>
> Using $_SERVER['DOCUMENT_ROOT'] is indd the standard php way but my
> problem is that it's not defined on a windows IIS box (I confirmed this
> by reading previous posts).
>
> Cheers,
> Tom Pester
>
Tom,
(please don't top post).
Hmmm, it exists in my IIS setup (W2K, PHP 5.0.3).
Of course, there's always $_SERVER["APPL_PHYSICAL_PATH"] which also
seems to contain the path to the document root. But I haven't used it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|