|
The PHP script: (mediastreamer.php) <?php #relative path from this script $audio[0] = "fische01.wmv"; $filename = $audio[$_GET['id']];
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" );header("Cache-Control: no-store, no-cache, must-revalidate");header("Cache-Control: post-check=0, pre-check=0", false);header("Content-Type: video/x-ms-wmv");header("Content-Length: ".filesize($filename));readfile($filename); ?> and the mgmediabot line: {mgmediabot2}type=windowsmedia|path=images/stories/mgmediabot/mediastreamer.php%3Fid%3D0|width=352|height=333{/mgmediabot2}
Parsed multiline: type=windowsmedia|path=images/stories/mgmediabot/mediastreamer.php%3Fid%3D0|width=352|height=333
mgmediabot params: type,windowsmedia|path,images/stories/mgmediabot/mediastreamer.php%3Fid%3D0|width,352|height,333
Array
(
[type] => windowsmedia
[path] => Array
(
[0] => http://www.needful.de/mgmediabot-demo/images/stories/mgmediabot/mediastreamer.php%3Fid%3D0
)
[width] => 352
[height] => 333
)
|