Extract flash width & height from html?

Got a challenge here,

I’m trying to find a way to load and strip out the values of the W & H of a embedded swf file. I’m using PHP and basically I need to get this from the <object></object> tag.

How would you do this in PHP?

Any ideas - thanks a bunch.

John