Reputation: 1375
just wanted to know how to call php script from running C code on Linux and pass a couple of parameters.
Thanks
Upvotes: 1
Views: 1396
Reputation: 1118
system("/usr/bin/php /path/to/program.php param1 param2");