Reply to Re: How to make the include path universal?

Your name:

Reply:


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
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация