-1

I want to link VC++ and PHP in my code so that I can control and instruct my VC++ software at remote computer from my computer. For example: If I have to checkdisk at computer at my home using my software by instructing it through web application build in php

Please help me out!

Thanks

1 Answers1

0

there are the php functions exec and shell_exec you can use those to execute a command line application and retrieve the output

x4rf41
  • 5,184
  • 2
  • 22
  • 33
  • it is possible to pass input and get output simultaneously like if I have to see the progress in percentage from 0 - 100 in graph form, can I do the same? – pawanjoshi5 Dec 17 '12 at 11:27
  • yes, see the answer here: http://stackoverflow.com/questions/7703278/grab-results-from-a-php-exec-while-the-command-is-still-running – x4rf41 Dec 17 '12 at 11:33