[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

Re: [PHP-WIN] large number of data in MSSQL

2001-07-12 Thread sysadmin
There is a sample of how to do this on the PHP manual page on COM. For those lazy folks, here's some code that I have already used. + + + + + $dbConn = new COM("ADODB.Connection") or die ("ouch!"); $dbConn->Open("Provider=SQLOLEDB; Data Source=server1; Initial Catalog=Pubs; User ID=dbo; Passwor

[PHP-WIN] RE: Any information on php_dotnet.dll extension?

2001-06-26 Thread sysadmin
I have a bit of an inside track at MS camp, and would be very careful about using this module. dotNet seems to change every 5 minutes, even though they are supposed to be past the making big changes point. I'm not sure how internal class changes would affect the php_dotnet.dll, but just thought I'