Execute c/c++ file using php script...??....

Discussion in 'PHP' started by hansu, Apr 7, 2008.

  1. #1
    hi..... i am using lampp server in red hat Linux .....I used system and exec command to execute c/c++ file .......but didn't get any result.....please suggest ideas ..... same problem i faced at windows wamp server( script are running but not getting any result) ....... :oops:
     
    hansu, Apr 7, 2008 IP
  2. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try php.net/popen. Make sure you are reading the stdout from the app.
     
    matthewrobertbell, Apr 7, 2008 IP