Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi All, Is there any way to chec

Status
Not open for further replies.

craigey

Technical User
Apr 18, 2002
510
GB
Hi All,

Is there any way to check if a website / link exists and return the results to an error message or write a table on to a html page. EG

PAGE STATUS

OK
OK
FAILED
OK

How would I integrate this into a html page? If possible I would like to put the URL's that are to be checked into an excel spreadsheet which the ASP page will read and then fill in the status and maybe even the time. If possible I would like the table inserted into a HTML/ASP page. Also how could I get the page to send an e-mail with the results of each failed page, but only when one of the pages have failed.

I have very little understanding of ASP, so please be clear and patient with me!

Many thanks in advance
 
You could use a component (ASP-Tear or ASP-HTTP) to retrieve the contents of the page, and check if it returns a 404 error - otherwise it should be ok... This is not a bug - it's an undocumented feature...
;-)
 
that sounds just like what I want. 1 question though, how do I do it????

Thanks for the reply anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top