Statistics of polymers in random media