title: PHP webpage to run Command line with parameters and use output
body: <p>My setup:
  Server 2008 R2
  IIS 7.5
  PHP 5</p>
  
  <p>I'm looking to have a PHP script on one of the pages that executes a command line exe with parameters that the webpage can then use the output of.</p>
  
  <p>I have a command line program that converts a video and saves it to the location from which the command was run, I want php to do that from the webpage and then have the web page be able to take the converted file and put it in an embedded player for watching??</p>
  
  <p>Is this even possible :-s</p>