This simple php function accurately determines the can liner required for a given trash can.