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
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
Code:
use LWP::Simple; if (head($in{'URL'})) {
# ok document exists
}
------------------
------------------------------------------
Lavon Russell
LookHard! Search
http://www.lh.yi.org
webmaster@lh.yi.org