SUBSTITUTION (Portugal)published at 80 mins
Portugal 1-2 England
Boston Breakers' Amanda Da Costa comes on, with Santos FC's Suzana Pires going off for Portugal.
There are 10 minutes left in Tilburg.
Results: Portugal 1-2 England, Scotland 1-0 Spain
England and Spain qualify for quarter-finals
One more Scotland goal would have sent them through
Duggan & Parris with early goals in either half for England
Weir earned Scots impressive victory
Tom Garry and Patrick Jennings
Portugal 1-2 England
Boston Breakers' Amanda Da Costa comes on, with Santos FC's Suzana Pires going off for Portugal.
There are 10 minutes left in Tilburg.
Scotland 1-0 Spain
Scotland now, with a rare chance to taste possession in midfield. Can they build something.
Fiona Brown battles away down the left, somehow digs out a brilliant cross, but Lana Clelland's touch is terrible. What might have been a dangerous chance drifts away, again.
Portugal 1-2 England
Rachel Brown-Finnis
Ex-England goalkeeper on BBC Radio 5 live
England have been much, much better in this second half.
Fara Williams has brought the heartbeat to the team, dictating things. She's been that really steady link between the backline and the forwards.
Scotland 1-0 Spain
Scotland have to beat Spain by TWO goals to go through - and they need England to beat Portugal.
Spain know a Portugal goal now would see them eliminated. So they're throwing everything at this.
This is like next goal wins. Both teams are going hell for leather.
Scotland 1-0 Spain
Tom and 20 others: This is 1978 all over again #Scotland #bbcfootball
Anna Signeul's side are hoping not! There is still time left for some twists.
Scotland 1-0 Spain
A change for Scotland. Fiona Brown is ON, Joanne Love is OFF.
That's Anna Signeul gambling by throwing on another striker.
FIFTEEN minutes for Scotland to find the goal they need.
Scotland 1-0 Spain
Steven Thompson
Former Scotland striker on BBC Sportsound
Scotland need to regroup. Spain are turning up the heat. I'd like to see us get a bit closer in the middle of the park to the Spanish midfield.
Scotland 1-0 Spain
Spain continue to dominate possession. They own the ball and all that can be made with it.
Vicky Losada is chopped down in the box and, I tell you what, Frankie Brown and Scotland are so lucky that's not a penalty.
Scotland 1-0 Spain
Mariona Caldentey's lofted cross into the box is perfect for Maria Paz, who rises above the Scotland shirts around her... and nods an easy chance wide of the post.
Scotland are really hanging on. And they still need to find that magic goal that would send them through.
Portugal 1-2 England
Portugal's Dolores Silva curls the free-kick wide to the left of goal. England can regain possession.
Scotland 1-0 Spain
Offside!
The flag cancels out all that went before; Alexia Putellas channels onto a sneaking through ball that cuts deftly through the Scotland bodies. Gemma Fay is out to scoop away at feet, and just about manages to get the ball to safety.
The replay shows that Putellas was level.
Portugal 1-2 England
Portugal win a free-kick in a dangerous position as Jordan Nobbs trips Diana Silva, around eight or nine yards from the penalty area.
Portugal 1-2 England
Jordan Nobbs tries her luck from range for England after an Alex Scott cross was cleared out to her and fell nicely for the Arsenal midfielder, but her decent effort goes over the bar.
Scotland 1-0 Spain
Silvia Meseguer crashes a superb curling effort from range plumb against the crossbar. It's still shuddering as Gemma Fay slowly turns her head to face the ball somehow drift to safety.
With England still winning, it's just ONE more goal that Scotland need.
Or else they are heading out.
For now, they've got their work cut out keeping Spain at bay.
Portugal 1-2 England
Portugal goalscorer Carolina Mendes is coming off.
Leverkusen's Ana Leite - who scored the winner against Scotland on Sunday - comes on up front.
Portugal 1-2 England
The Portugal keeper, Patricia Morais, is hurt and receiving treatment on the pitch.
I think it's her quadracep. Has she pulled a muscle? The substitute keeper is warming up for Portugal.
But actually, Morais looks set to carry on for now. She winces and limps back to goal. There was a slight pause in play though.
Scotland 1-0 Spain
More dodgy defending from the Spanish, a poor back pass is hurriedly smashed into a chasing Scotland body and Lana Clelland gets two chances to make something of it.
Her first shot is closed down quickly - good recovery - and her second sails harmlessly to safety. They must make more of these.
Portugal 1-2 England
Millie Bright is coming off. On comes Arsenal's Jordan Nobbs.
Reading's Jo Potter will therefore slot back, from midfield, into the backline for England.
Scotland 1-0 Spain
Maria Paz drags wide with a first-time snap-shot after darting into space behind the Scotland backline. Masterful pass from Amanda Sampedro to find her.
They've got extra bodies up top now, Spain. Scotland will need to re-adjust.
Portugal 1-2 England; Scotland 1-0 Spain
We're in the intriguing situation where both Portugal and Scotland - in separate games - are one goal away from qualifying.