what exactly do you mean with "open wmv file using php"
a) read a vmw file from disk using php functions? see fopen() fread(), fclose(), file_get_contens()
b) show a file in browser? then use fpassthru() function and set content-type headers before using header() function.