Jerby:

I would imagine that flexible light infantry should actually be most effective going upfront against a phalanx? I don't know to much about the subject thought, I do know however that the romans finally broke the macedonian phalanx by drawing them out on uneven terrain, then sending small units of legionnaries into the gaps created in the spear-wall to hack the phalangites down in close quarter fighting.

Something struck me thought, when you fight down on phalanx units going uphill, your infantry may close in behind the pikes without problem, sometimes it seems like the phalangites doesn't even use their pikes when fighting uphill, althought I can hardly imagine this is intentional, probably just another flaw in the game.