Hi. Question. Is there a way to check if a hyperlink address still
exists? That is, if you're online. Got a database with a hyperlink
field. Just want to flag dead links. Any advice is
appreciated...Dennis

Re: Verifiy Hyperlinks by Dan

Dan
Mon Apr 07 21:11:04 CDT 2008

the only way to verify an email address is to send to it.

The only way to verify an http address is to attempt to retrieve it. Of
course there are sites that go down for maintenance, network issues, DNS
issues ....

Try to connect. If you can't, it may be bad, or it may just be temporarily
down.

Dan

Dennis Allen wrote:
> Hi. Question. Is there a way to check if a hyperlink address still
> exists? That is, if you're online. Got a database with a hyperlink
> field. Just want to flag dead links. Any advice is
> appreciated...Dennis



Re: Verifiy Hyperlinks by Man-wai

Man-wai
Tue Apr 08 05:48:33 CDT 2008

Dennis Allen wrote:
> Hi. Question. Is there a way to check if a hyperlink address still
> exists? That is, if you're online. Got a database with a hyperlink
> field. Just want to flag dead links. Any advice is appreciated...Dennis

Using WinSock, open a TCP connection to port 80 of those IPs (kind of
like using telnet to port 80). Then issue a GET and see if you got a
textual reply.

--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.10) Linux 2.6.24.4
^ ^ 18:45:01 up 6 days 23:56 1 user load average: 1.02 1.05 1.00
? ? (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa/

Re: Verifiy Hyperlinks by Dennis

Dennis
Tue Apr 08 13:29:33 CDT 2008

Thanks for the reply. Does anyone have a working example?

"Man-wai Chang ToDie (33.6k)" <toylet.toylet@gmail.com> wrote in message
news:Oc1FwXWmIHA.1184@TK2MSFTNGP04.phx.gbl...
> Dennis Allen wrote:
>> Hi. Question. Is there a way to check if a hyperlink address still
>> exists? That is, if you're online. Got a database with a hyperlink
>> field. Just want to flag dead links. Any advice is
>> appreciated...Dennis
>
> Using WinSock, open a TCP connection to port 80 of those IPs (kind of
> like using telnet to port 80). Then issue a GET and see if you got a
> textual reply.
>
> --
> @~@ Might, Courage, Vision, SINCERITY.
> / v \ Simplicity is Beauty! May the Force and Farce be with you!
> /( _ )\ (Xubuntu 7.10) Linux 2.6.24.4
> ^ ^ 18:45:01 up 6 days 23:56 1 user load average: 1.02 1.05 1.00
> ? ? (CSSA):
> http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa/


Re: Verifiy Hyperlinks by Paul

Paul
Tue Apr 08 14:35:05 CDT 2008

Haven't run this code but it should be pretty close to what you want.
local oHTTP, cServer
cServer = "www.microsoft.com"
xmlhttp = create("Microsoft.XMLHTTP")
xmlhttp.Open("GET", cServer, .f. )
xmlhttp.send()
* Check the contents of xmlhttp.responseText to see whether you got 'page
not found'

"Dennis Allen" <dennis@dennisallen.com> wrote in message
news:OqcNElRmIHA.5280@TK2MSFTNGP02.phx.gbl...
> Hi. Question. Is there a way to check if a hyperlink address still
> exists? That is, if you're online. Got a database with a hyperlink
> field. Just want to flag dead links. Any advice is appreciated...Dennis



Re: Verifiy Hyperlinks by Villi

Villi
Wed Apr 09 02:04:18 CDT 2008

Paul Hemans wrote:
> Haven't run this code but it should be pretty close to what you want.
> local oHTTP, cServer
> cServer = "www.microsoft.com"
> xmlhttp = create("Microsoft.XMLHTTP")
> xmlhttp.Open("GET", cServer, .f. )
> xmlhttp.send()
> * Check the contents of xmlhttp.responseText to see whether you got
> 'page not found'


Interesting code, Paul.
I was triyng it but it's givin' me an OLE unspecified error 0x80004005 at
the open() line.
I'll google after it in the spare bits of time, looks like 0x80004005 is
found in many different kinds of context, from ODBC to who knows what...
--
News Microsoft



Re: Verifiy Hyperlinks by Man-wai

Man-wai
Wed Apr 09 05:40:26 CDT 2008


http://fox.wikis.com
search for "winsock"

> Thanks for the reply. Does anyone have a working example?
>> Using WinSock, open a TCP connection to port 80 of those IPs (kind of
>> like using telnet to port 80). Then issue a GET and see if you got a
>> textual reply.

--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.10) Linux 2.6.24.4
^ ^ 18:38:01 up 7 days 23:49 1 user load average: 0.01 0.01 0.00
? ? (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa/

Re: Verifiy Hyperlinks by MichelRoy

MichelRoy
Wed Apr 09 14:27:03 CDT 2008

cserver="http://www.microsoft.com" && works

"Villi Bernaroli" wrote:

> Paul Hemans wrote:
> > Haven't run this code but it should be pretty close to what you want.
> > local oHTTP, cServer
> > cServer = "www.microsoft.com"
> > xmlhttp = create("Microsoft.XMLHTTP")
> > xmlhttp.Open("GET", cServer, .f. )
> > xmlhttp.send()
> > * Check the contents of xmlhttp.responseText to see whether you got
> > 'page not found'
>
>
> Interesting code, Paul.
> I was triyng it but it's givin' me an OLE unspecified error 0x80004005 at
> the open() line.
> I'll google after it in the spare bits of time, looks like 0x80004005 is
> found in many different kinds of context, from ODBC to who knows what...
> --
> News Microsoft
>
>
>

Re: Verifiy Hyperlinks by Paul

Paul
Wed Apr 09 14:37:00 CDT 2008

I knew I would miss something, thanks Michel
"Michel Roy" <MichelRoy@discussions.microsoft.com> wrote in message
news:9BE9FF2A-82C4-4226-865B-40524E22E5D9@microsoft.com...
> cserver="http://www.microsoft.com" && works
>
> "Villi Bernaroli" wrote:
>
>> Paul Hemans wrote:
>> > Haven't run this code but it should be pretty close to what you want.
>> > local oHTTP, cServer
>> > cServer = "www.microsoft.com"
>> > xmlhttp = create("Microsoft.XMLHTTP")
>> > xmlhttp.Open("GET", cServer, .f. )
>> > xmlhttp.send()
>> > * Check the contents of xmlhttp.responseText to see whether you got
>> > 'page not found'
>>
>>
>> Interesting code, Paul.
>> I was triyng it but it's givin' me an OLE unspecified error 0x80004005 at
>> the open() line.
>> I'll google after it in the spare bits of time, looks like 0x80004005 is
>> found in many different kinds of context, from ODBC to who knows what...
>> --
>> News Microsoft
>>
>>
>>



Re: Verifiy Hyperlinks by Villi

Villi
Thu Apr 10 01:44:52 CDT 2008

Michel Roy wrote:

>>> local oHTTP, cServer
>>> cServer = "www.microsoft.com"
>>> xmlhttp = create("Microsoft.XMLHTTP")
>>> xmlhttp.Open("GET", cServer, .f. )
>>> xmlhttp.send()
>>> * Check the contents of xmlhttp.responseText to see whether you got
>>> 'page not found'

>> Interesting code, Paul.
>> I was triyng it but it's givin' me an OLE unspecified error
>> 0x80004005 at the open() line.
>> I'll google after it in the spare bits of time, looks like
>> 0x80004005 is found in many different kinds of context, from ODBC to
>> who knows what...

> cserver="http://www.microsoft.com" && works

Great! Thanks.
--
News Microsoft



Re: Verifiy Hyperlinks by Demetrios

Demetrios
Sat Apr 12 11:47:21 CDT 2008


Yes but there is no response but error if the server doew not exist

Demetrios, Greece

"Villi Bernaroli" <a@b.invalid> wrote in message
news:eYcSjZtmIHA.1212@TK2MSFTNGP05.phx.gbl...
> Michel Roy wrote:
>
>>>> local oHTTP, cServer
>>>> cServer = "www.microsoft.com"
>>>> xmlhttp = create("Microsoft.XMLHTTP")
>>>> xmlhttp.Open("GET", cServer, .f. )
>>>> xmlhttp.send()
>>>> * Check the contents of xmlhttp.responseText to see whether you got
>>>> 'page not found'
>
>>> Interesting code, Paul.
>>> I was triyng it but it's givin' me an OLE unspecified error
>>> 0x80004005 at the open() line.
>>> I'll google after it in the spare bits of time, looks like
>>> 0x80004005 is found in many different kinds of context, from ODBC to
>>> who knows what...
>
>> cserver="http://www.microsoft.com" && works
>
> Great! Thanks.
> --
> News Microsoft
>