PDA

View Full Version : link validator


2epro
07-04-2008, 02:15 AM
can anyone point me in the right direction.

UPDATED ::

heres what i need

an input box to input upto 25 links and then i need the app to test the links to see if there valid or dead, then i need the app to display this info ...

anyone ???

Imagine Programming
07-04-2008, 02:40 AM
Check the help file on HTTP.TestConnection, this will let you be able to test the connection between you and the URL you parse to it...

it returns true on a working connection

it returns false on a dead url:)

2epro
07-04-2008, 02:43 AM
ah ok A+...

will it return any 404 type error as a dead page ?

and how would i print the results to the app and how would i setup a box to input various urls to test ?

2epro
07-04-2008, 03:07 AM
i am getting =true whether the link is good or not

RizlaUK
07-04-2008, 11:40 AM
from the help file

Parameters
URL
(string) The full URL to use to check the Internet connection. The action will attempt to connect to this URL in order to determine if a connection is available.

Note: If the URL involves redirection, the initial connection will indicate success, and the redirected URL will not be connected to.

are your links redirecting ?

2epro
07-04-2008, 05:22 PM
well no but i use custom error pages, and i think that matters in this case.