By itself, it could pulverise most things in front of it, but was (obviously, and as has been said before) vulnerable to the flanks and rear. The Phalanx, in order to be successful, really had to be use as part of a combined arms force. Alas, I have lost the second one, so can't be more specific :( I recommend reading Warfare in the Ancient world by Brian Todd Carey, and a book which I think is called 'Warfare in the classical world', with hoplite's face on the front. Please excuse spelling ffee gives me jittery hands lol.