how about grabbing the value of value="" and parsing it as a url, then parse the query string.
I tested this on PHP 5, but it should also work on PHP 4 if that is what you're running.
Code:
MadMac-Computer% /usr/local/php5/bin/php -a
Interactive mode enabled
php > // string
php > $string = '<param name="movie" value="lookupSong.swf?s=Start+Wearing+Purple&n=Gogol+Bordello&t=2%3A10+AM&img=http%3A%2F%2F206.165.114.205%2Fjellyvision%2Fimages%2Fpop%2Fcov75%2Fdrf200%2Ff202%2Ff202950ofan.jpg&itid=&ital=" />';
php >
php > // PCRE pattern
php > $pattern = '/<param name="([^"]+)" value="([^"]+)" \/>/';
php >
php > // find matches
php > preg_match($pattern, $string, $matches);
php >
php > // debug matches
php > print_r($matches);
Array
(
[0] => <param name="movie" value="lookupSong.swf?s=Start+Wearing+Purple&n=Gogol+Bordello&t=2%3A10+AM&img=http%3A%2F%2F206.165.114.205%2Fjellyvision%2Fimages%2Fpop%2Fcov75%2Fdrf200%2Ff202%2Ff202950ofan.jpg&itid=&ital=" />
[1] => movie
[2] => lookupSong.swf?s=Start+Wearing+Purple&n=Gogol+Bordello&t=2%3A10+AM&img=http%3A%2F%2F206.165.114.205%2Fjellyvision%2Fimages%2Fpop%2Fcov75%2Fdrf200%2Ff202%2Ff202950ofan.jpg&itid=&ital=
)
php >
php > // parse value="?" url
php > $url = parse_url($matches[2]);
php >
php > // debug $url
php > print_r($url);
Array
(
[path] => lookupSong.swf
[query] => s=Start+Wearing+Purple&n=Gogol+Bordello&t=2%3A10+AM&img=http%3A%2F%2F206.165.114.205%2Fjellyvision%2Fimages%2Fpop%2Fcov75%2Fdrf200%2Ff202%2Ff202950ofan.jpg&itid=&ital=
)
php >
php > // parse query string
php > parse_str($url['query'], $results);
php >
php > // debug results
php > print_r($results);
Array
(
[s] => Start Wearing Purple
[n] => Gogol Bordello
[t] => 2:10 AM
[img] => http://206.165.114.205/jellyvision/images/pop/cov75/drf200/f202/f202950ofan.jpg
[itid] =>
[ital] =>
)
php >
Something like that should do the trick. You could easily make it into a function or class that you give the string to and it returns the final result array. To get all of them, you could do a preg_match_all() instead of preg_match and loop through the results.
PS. PHP 5 interactive console rocks
