I believe "the result" of your get will have an error message in it if the URL doesn't exist. Otherwise the result is empty.
Jeff M. On Sun, Aug 8, 2010 at 11:41 AM, Warren Kuhl <[email protected]> wrote: > Thanks Colin....this is a great start. Appreciate it! > > Warren > > On Sun, Aug 8, 2010 at 11:37 AM, Colin Holgate <[email protected]> wrote: > > > > On Aug 8, 2010, at 12:19 PM, Warren Kuhl wrote: > > > >> I need to check if a URL is valid and receive notification for invalid > >> URLs. I don't want my program to open any browswers when checking. Is > >> this possible? > > > > In some cases it is. If the page you try to access doesn't exist, but the > server traps for that, then it's harder to tell. Try these in the message > box to see the difference: > > > > put url "http://www.runrev.com/" contains "404 Not Found" > > > > put url "http://www.runrevvvvvv.com/" contains "404 Not Found" > > > > put url "http://www.runrev.com/abcdefg.html" contains "404 Not Found" > > > > The first and third ones show "false", and the middle one "true". > Although the third one returns false, the page doesn't really exist, but > runrev.com handles that and redirects you to another page. > > > > > > _______________________________________________ > > use-revolution mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
