[PHP-WIN] Re: HTTP_SERVER_VARS

2001-10-15 Thread Oronzo \(detto Enzo\) Suma
You can control if this variable are impostate with script in your server root if result the execution this file have the system variable in the file it is impostate else you control the php.ini if impostete on ON the relative variable "Steen rabøl" <[EMAIL PROTECTED]> ha scritto nel messaggi

[PHP-WIN] Re: HTTP_SERVER_VARS["DOCUMENT_ROOT"] on IIS Windows 2000

2001-07-23 Thread Stephen
James, Thank you. This is precisely what I wanted to know and how to get around this. The define() idea is pretty ingenious. =) Thanks, Stephen - Original Message - From: <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 10:37

[PHP-WIN] Re: HTTP_SERVER_VARS["DOCUMENT_ROOT"] on IIS Windows 2000

2001-07-23 Thread sysadmin
You do not have access to that information when running in CGI mode. It's a bitch, but your options are limited: 1. if you're only running one domain with PHP, set the document_root variable in php.ini 2. define(DOCUMENT_ROOT, "d:\inetpub\wwwroot\domain1") in each page, or an include 3. the