U can look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/ht m/xmobjxmlhttprequest.asp
(and thank to Sam and David ) Ben ----- Original Message ----- From: "Dylan Barber" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 7:35 PM Subject: RE: Checking a site thanks Sam I will try this out I am sure I can adapt this to what I need. -----Original Message----- From: Sam Thompson [mailto:decoder@;bandalize.com] Sent: Monday, November 11, 2002 11:26 AM To: ActiveServerPages Subject: Re: Checking a site <%@ Language=VBScript %> <% Response.Buffer = True Dim objXMLHTTP, xml ' Create an xmlhttp object: 'Set xml = Server.CreateObject("Microsoft.XMLHTTP") Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP") ' Opens the connection to the remote server. xml.Open "GET", "http://www.4Guysfromrolla.com/", False 'error '80072ee2' ' Actually Sends the request and returns the data: xml.Send 'Display the HTML both as HTML and as text Response.Write "<h1>The HTML text</h1><xmp>;" Response.Write xml.responseText Response.Write "</xmp><p><hr><p><h1>The HTML Output</h1>" Response.Write xml.responseText Set xml = Nothing %> HTH Sam ----- Original Message ----- From: "Dylan Barber" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 5:24 PM Subject: RE: Checking a site Where can I find that info, I already know some of that from MSDN are there any other examples? -----Original Message----- From: Remie Bolte [mailto:asplist@;vinrem.nl] Sent: Monday, November 11, 2002 11:23 AM To: ActiveServerPages Subject: Re: Checking a site hi You can create a script that uses the msxml2.xmlhttp object to connect to the site and retrieve the source. when you can retrieve the source, the site is running, when the object trows an error, you know you have a problem. regards remie bolte ----- Original Message ----- From: "Dylan Barber" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 3:56 PM Subject: Checking a site Where would I look for information on how to check if a site is up with a web page on another site. Essentially I want to create a monitoring program that will 'ping' the different pages on a site and tell me if they are responding. The sites are hosted remotely so I don't have access to the servers in any real sense, I am able to FTP to them but that's about all. __________________________________________________ Dylan Barber (CIW Professional, A+ Technician) Programmer/Analyst DPRA Inc. phone (785) 539-3565 ext.1034 e-mail [EMAIL PROTECTED] --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
