Run exe with parameter via php ?

Discussion in 'PHP' started by thesurface, Jan 29, 2012.

  1. #1
    Lets say i need to run prog.exe and into prog.exe inlcude parameter de.php is that possible in php ? i got windows host so no problem with run exe ...
     
    thesurface, Jan 29, 2012 IP
  2. mallorcahp

    mallorcahp Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could have de.php output xml / json / POST data and read it into a variable from prog.exe as long as whatever you're coding in has a function to read / load urls e.g. equivalents of what in php would be cURL / file_get_contents ....
     
    mallorcahp, Jan 29, 2012 IP