home *** CD-ROM | disk | FTP | other *** search
- Function main
-
- Dim HTTPObj As Object
- Dim HTTPResponse As Integer
- Dim result As Boolean
-
- result = false
-
- ip = getparameter("ComputerIP")
- port = 80
-
- Set HTTPobj = HTTP.Connect (ip,port)
- HTTPobj.GetURL("/cgi-bin/ad.cgi")
- HTTPobj.Authentication = 1
- HTTPResponse = HTTPobj.SendRequest ()
- If HTTPResponse <> 404 Then
- result = true
- End If
- main = result
-
- End Function
-
-