Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Add verify

Quote Reply
Add verify
If i wanted to make the add.cgi file look for the url specified and then if its found it will keep parsing the script and data but if its not found it goes straight to the error page. If so, would it look like this

Code:
use LWP::Simple;



if (head($in{'URL'})) {
# ok document exists
}
I wanna make the ones that get the 200 code to be put in the valid.db file and the others, well they won't show up, sort of like Yahoo. I figure i can do this with an else call at the end but i'm not sure where to put it. Inside sub main or sub process form?

------------------
------------------------------------------
Lavon Russell
LookHard! Search
http://www.lh.yi.org
webmaster@lh.yi.org
Subject Author Views Date
Thread Add verify Bmxer 1949 Aug 6, 1999, 4:19 AM
Post Re: Add verify
Brad Richardson 1886 Aug 6, 1999, 7:09 AM
Post Re: Add verify
Bmxer 1897 Aug 6, 1999, 7:21 PM
Post Re: Add verify
Bmxer 1879 Aug 9, 1999, 7:36 PM