executing C++ code from within PHP code
hi,
i have written a program in C++. I want to execute it from within my PHP code . how can i do it? thanx and regards, viny |
Hey there
Assuming c++ program is compiled already you will have to use the php system() function to execude system commands. You can also use php's exec() function as well. For both of them php's installation must allow you this. As an example. You can take as example a single script to execute xmms player on linux from php using exec() or system() variables: Code:
<?php Hope it helps Regards Andy |
All times are GMT -5. The time now is 07:39 PM. |