Hey Nbritte. How your code says if there is 404 or connection time out?
Quote:
Originally posted by Nbritte:
here is one way to do it
use lwp:simple; #this goes in the top of the script
sub check_recip{
$data = get("http://www.posted.url" 
if (index($data,$yoururl) eq 0){$reciptfound=1;}
}
this is just a generalization if you dont undestand it then get someone to write it for you or check one of the script listed above
brian
|