Easiest way to run PHP (on Windows) is to install an apache server and PHP. You can do this easily using XAMPP: http://www.apachefriends.org/en/xampp-windows.html
Then you should just be able to create the PHP file in the apache directory and access it through the browser using http://localhost/path/to/file.php
Edit: Looking at the code, it seems to me it just fetches the HTML and extracts the .flv URL from that, then saves that as the file. Should be easy to do with any HTML library.
Then you should just be able to create the PHP file in the apache directory and access it through the browser using http://localhost/path/to/file.php
Edit: Looking at the code, it seems to me it just fetches the HTML and extracts the .flv URL from that, then saves that as the file. Should be easy to do with any HTML library.