"David Broker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Rich,
> Microsoft claims (in the IIS help) that this is an object which you can
access
> with any language which supports COM.
>
> In the VBscript found on any Win2K server it is called like this:
> varname = GetObject("IIS://localhost/w3scv")
>
> So I'm assuming that IIS://localhost/w3scv is an object.
>
> My problem was that I could not access that object, as that format (the
> "IIS://")is not supported in the non-dev releases.
>
> I will (probably) be running it on a local machine so I shouldn't have a
> problem there.
>
> Regards,
> David
Right mate, Ive had a quick search on Google and found this....
Under Foxpro - you access it like
loIIS=CREATE("wwIISAdmin.IIS4Config")
IF loIIS.ConnectPath("IIS://LOCALHOST/W3SVC/1/ROOT")
? loIIS.GetValue("AuthBasicIsolated")
? loIIS.GetValue("DefaultDoc")
? loIIS.m_oIISObj.Stop()
* ? loIIS.m_oIISObj.Start()
ELSE
wait window "Unable to retrieve path..."
ENDIF
So I would suspect that the interface is "wwIISAdmin.IIS4Config" or
something like that. Thus if Im correct you would need something like
<?php
$IIS_Admin = COM( "wwIISADmin.IIS4Config" );
if( $IIS_Admin->ConnectPath( "IIS://Localhost/W3SVC/1/ROOT" ) )
{
....
you get the idea.
Hope that helps.
Rich
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]