patimages
10-07-2006, 10:20 AM
Hi everybody !
As told, 2 short questions :
1 - I am making a search on 2 remote site : something like that :
http://search.yahoo.com/search?p="query"
http://search.google.com/search?p="query"
what if one of these sites is down : how can I continue only with the result of the search of the other. maybe with a timer (if time > 10 then stop this and continue...)? but I have no idea how to do that ... do you ?
2- this question is related : how to specify a maximum time for a search (in the case the site works but is too slow) ?
thanks a lot for your help !!!!!!!!!!
As told, 2 short questions :
1 - I am making a search on 2 remote site : something like that :
http://search.yahoo.com/search?p="query"
http://search.google.com/search?p="query"
what if one of these sites is down : how can I continue only with the result of the search of the other. maybe with a timer (if time > 10 then stop this and continue...)? but I have no idea how to do that ... do you ?
2- this question is related : how to specify a maximum time for a search (in the case the site works but is too slow) ?
thanks a lot for your help !!!!!!!!!!