Re: [PHP] Virtual Hosts document root directory.

2001-05-23 Thread Joseph Blythe
Richard Quadling wrote: > I assume there is a variable somewhere? > > Ideas/suggestions please. I think its the predefined apache variable $DOCUMENT_ROOT (look under predefined variables in manual), or try $SCRIPT_FILENAME, you may then parse the part you need. I use Linux so I am only guess

[PHP] Virtual Hosts document root directory.

2001-05-23 Thread Richard Quadling
Hi. I am using Sambar Server on Win98SE, PHP 4.0.5. All is well. The server supports "virtual hosts". I am not sure of the terminology outside of Sambar, but effectively, I can go to my browser and enter ... local.site1.com local.site2.com etc. And get different sites. I have a set of PHP scr