WEST Ham needed extra time to see off deadly rivals Millwall in an cantankerous cup tie.
Junior Stanislas was the hero scoring twice to guarantee West Ham's place in the third round.
His goals sparked pitch invasions by celebrating West Ham fans goading their rivals.
The 19-year-old hit a volley in the dying moments to send the cup tie into extra time.
The goal cancalled out Neil Harris' stunning volley after 26 minutes which gave League One Millwall a shock lead.
The winger gave the Hammers the lead after a hand ball in the box by defender Andy Frampton.
The youngster showed a cool head to convert the penalty past David Forde in what was turbulent game.
Moments later the Hammers added a third through substitute Zavon Hines, who rifled a shot past Forde to give West Ham a 3-1 lead in extra time and seal a place in the third round of the Carling Cup.
Before kick-off fans clashed with police outside Upton Park, leading to a 44-year-old man being stabbed whie officers made ten arrests in connection with the violence.
The police say the victim is currently in a stable condition in hospital.
The opening exchanges were highly charged as Carlton Cole was booked for a rash challenge on Frampton after five minutes.
Gabbidon joined him in referee Paul Taylor's book after an equally crunching tackle.
Shortly after taking the lead Millwall took the initiative with Alexander and Harris linking up well but Harris' shot went wide.
However, Harris, Millwall's record goalscorer, clearly fancied his chances.
Ten minutes before half-time West Ham shout for a penalty after Cole is shoved down in the box but referee Taylor ignores the pleas.
After the restart, West Ham threw everything but the kitchen sink at Millwall but to no avail.
Cole missed a golden opportunity to equalise for West Ham when he shot well wide rather than troubling Forde in the visitors' goal.
West Ham captain Scott Parker became the third Hammer to go in Taylor's book after he knocked Hackett over.
The Irons went on the attack when American international Jonathan Spector's shot was deflected and the resulting corner was headed wide by James Tomkins.
A lovely through ball from substitute Zavon Hines finds Parker in the clear but the former Chelsea and Newcastle midfielder shot wide.
A melee occurred in a crowded Millwall box as West Ham players argued who was going to shoot.
Substitute Frank Nouble finally unleashes an effort which sailed wide of the left-hand post.
Millwall break with a great run by Alexander but the striker ran out of gas as he tamely shot wide of Green despite being in the clear.
At full-time both sides were level so extra-time was needed to decide the tie.
West Ham attacked straight away with Hines' shot deflected wide for a corner which was cleared.
Millwall looked tired after an exhilarating second-half and the Hammers' goal clearly deflated them.
A terrible miss by Cole as he screwed wide when it was easier to score and put West Ham into the next round.
Shortly before half-time in extra time Stanislas sent a header wide which would have given the Hammers certain victory.
Stanislas struck to gave West Ham the lead before Hines' confirmed the Hammers' passage with a third.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here