Is that the entire code or just a snippet? If it is the enitre code, in the PHP you do not have the variable file name in the PHP script posted above. Unless you have register_globals set to on in the php.ini file on your server, this will not work. If this is the case, you will need to add something like the following:
PHP Code:
<?php
$file = $_REQUEST["file"];
if ($file == "something") {
$open = '29112006.wmv';
}
else {
$open = '';
}
Header("Content-type: video/x-ms-wmv");
echo $open;
?>
if that makes sense.
Bookmarks