PHP php to read information from IIS - IIsWebServer class
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: php to read information from IIS - IIsWebServer class

  1. #1
    Join Date
    Nov 2004
    Posts
    187

    Angry php to read information from IIS - IIsWebServer class

    In C# I can use the following to get information from the IIS Server Object
    DirectoryEntry entry = new DirectoryEntry("IIS://" + server + "/W3SVC", "user", "pass");

    In VBS I can use the following
    GetObject("IIS://" & server & "/W3SVC")

    How about in PHP? What would be the equivalent? using a new COM? which one?
    NOTE: I must do this in PHP and not .NET
    In .net this comes from System.DirectoryServices.dll

    I can do the following to get info from Win32_BIOS
    $obj = new COM ( "winmgmts:{impersonationLevel=impersonate}//".$server."/root/CIMV2" );
    $fso = new COM ( "Scripting.FileSystemObject" );
    $obj->ExecQuery("Select * from Win32_BIOS");

    Thanks
    Last edited by rogernem; August 12th, 2014 at 12:11 PM.

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,880

    Re: php to read information from IIS - IIsWebServer class

    Have you tried PHP's LDAP library?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center