removing related urls from array
Posted: Sat Feb 13, 2010 2:09 pm
I have an array that contains a list of urls, one may be the root domain, another may be a subfolder. I've already implemented array_unique() to wipe out exact matches, but I can't find out how to remove items that fall into this criteria. If it makes a difference, I would prefer to drop the root and keep the subfolder.