tech74
tech74

Reputation: 1375

How to call php script from C code on Linux

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

Answers (1)

matiasf
matiasf

Reputation: 1118

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

Upvotes: 1

Related Questions