Page 1 of 1

Executing a c code from inside a php file

Posted: Mon Apr 12, 2004 12:43 am
by sujoydas
hi friends,
i am doing a bit of server programming.Can i execute a c code from inside a php file.this is important otherwise i have to port the full c code to php.the problem is i am using datatypes like "long long "in my c code which is not having any correspondent typr in php.
sujoy

Posted: Mon Apr 12, 2004 12:56 am
by Ixplodestuff8
exec() can execute other programs.

Posted: Mon Apr 12, 2004 2:53 am
by markl999
I've never used this myself, but it might do what you want.