Posted by Mike on 08/23/06 13:31
Hi All,
I'd like to make a php script that strip out just the FlashVars URL
from the embed code for flash.
For example I've this code:
<embed type="application/x-shockwave-flash"
src="http://test.com/test.swf" allowScriptAccess="always" width="180px"
height="23px" bgcolor="#ECECEC" id="player"
FlashVars="id=0&status=maximize&filepath=http://mywebsite.com/test.xxx&colors=body:#ECECEC;border:#BBBBBB;button:#999999;player_text:#999999;playlist_text:#999999;"></embed>
As final result I'd like to have http://mywebsite.com/test.xxx
I tried with the command preg_replace(), but I can't get to work.
Thanks
Navigation:
[Reply to this message]
|