You are here: strip flashvar from a flash? « All PHP « IT news, forums, messages
strip flashvar from a flash?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация