want to run c program from php using exec() function

Posted by Abhimanyu on Stack Overflow See other posts from Stack Overflow or by Abhimanyu
Published on 2010-05-02T18:52:04Z Indexed on 2010/05/02 18:58 UTC
Read the original article Hit count: 235

Filed under:
|

hi i m trying to run one c executable file using php exec().

when c contains a simple program like print hello i m using exec('./print.out') its working fine.but when i need to pass a argument to my c program i m uing exec('./arugment.out -n 1234') it not working .can any body tell me how to pass arugment using exec to c program.

© Stack Overflow or respective owner

Related posts about c

    Related posts about php