View Single Post
Old 08-02-2004, 02:53 AM   #5
jinkas
Green Mole
 
Join Date: Jul 2004
Posts: 8
Ok, I was never very good with regular expressions....I've tried adding my link format, but just can't seem to get it. Could I get a hand?

Links on my site are of the form:
http://host /site/section /index.php?title=filename

-Host is uuu.cae.wisc.edu for now, but will shortly be changing to www.cae.wisc.edu
-Section can be any number of things, right now the only options are "public" and "admin" (will grow to an indefinite number)
-Filename can be any number of things, right now there are ~100 test files on the site (will grow to 8000+)

Thanks for you help, guys! I really appreciate this!

-jinkas

P.S. - I don't even know if changing those eregi's will work, since PhpDig isn't skipping over any links. It finds all the links on a page, but also finds from 2-6 (approx.) non-existant links due to the fact that it clips any number of chars off of the end of some links.
jinkas is offline   Reply With Quote