开发者

How to call php script from C code on Linux

开发者 https://www.devze.com 2023-01-11 13:27 出处:网络
just wanted to know how to call php script from running C co开发者_StackOverflowde on Linux and pass a couple of parameters.

just wanted to know how to call php script from running C co开发者_StackOverflowde on Linux and pass a couple of parameters.

Thanks


system("/usr/bin/php /path/to/program.php param1 param2");
0

精彩评论

暂无评论...
验证码 换一张
取 消