php-windows Digest 25 Aug 2002 09:53:57 -0000 Issue 1306
Topics (messages 15490 through 15491):
Re: ISAPI & CGI
15490 by: Luis Ferro
Mit PHP+COM auf PDC zugreifen
15491 by: Mario Schmidt
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
ISAPI -> Loaded as a module when the web server comes online
CGI -> Called when a request is made
FAST-CGI -> Pool of CGI engines that allow a faster CGI execution then
the plain CGI, but it's slower then ISAPI
Also there are changes in the security model applied, where ISAPI is
stronger as it runs within the security context of the web server.
Some directives are available/inavailable in the diferent running
processes... you will have to check the manual to accertain which (or
run the server in both and perform a phpinfo() within both...
Hope to have been of help...
Luis Ferro
TelaDigital
Mottaghi wrote:
>Hi,
>whats all the difference between CGI and ISAPI in PHP?!
>
>
>
---
[This E-mail scanned for viruses by Declude Virus]
--- End Message ---
--- Begin Message ---
Hallo NG!
Ich versuche, mit PHP und der COM-Klasse die Windows-Benutzer und Gruppen
von einem Domänencontroller (NT4 oder Win2k Active Directory) auszulesen.
Dazu benutze ich folgenden Code:
$adsiobj = new COM("WinNT://rechnername");
Mit ASP klappte das immer prima, nur in PHP enthält das neue Array $adsiobj
nur EINEN Eintrag (Den ersten, also alle Daten über den genannten Rechner),
nicht aber den Inhalt des Rechners (Gruppen, Benutzer, Services usw). Habe
das mit sizeof($adsiobj) überprüft...
Ich komme da nicht weiter und tippe sogar auf einen Bug in der
COM-Komponente (PHP 4.2.2), kann das jemand bestätigen? Wenn ja, sollten wir
da nicht die PHP-Group darauf aufmerksam machen?
Oder hat jemand ne andere Idee? LDAP scheidet aus, da das ja erst ab Active
Directory funktioniert und nicht mit Windows NT4...
Mit freundl. Gruß
Mario
--
Mario Schmidt
Badener Str. 8
78315 Radolfzell
[EMAIL PROTECTED]
--- End Message ---