Forum Moderators: phranque
Is there a way I can script with Windows Media Server
just like I can with apache and PHP?
For example in apache/php we can do something like:
[myserver.com...]
In windows media server I would love if I can do something like:
mms://mymediaserver.com/movies/movie_one.wmv?name=Rudi&type=full_member
I'm sure this must be possible.
I'd like to require and script with URL params before I send out a streaming movie.
Thanks for you time.
Best regards
Rudi
Well what I want to do is do some server side scripting
before I send a response.
Example:
[myserver.com...]
With this example I can write code on the index.php page
that goes something like:
if ( $_GET['name'] == "Rudi" ) { $isOK = true; }
With Windows Media server it is similar but
uses the mms:// protocol instead of http://
Example:
mms://mymediaserver.com/movie_one.wmv?name=Rudi
Here I would like to be able to script something
that goes like:
if ( request.name == 'Rudi' )
{ okToStream = true; }
else
{ okToStream = false; }
Is that possible.
I hope I have explained that OK.
Please let me know if I should provide more detail.
Thanks