Executing a c code from inside a php file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sujoydas
Forum Newbie
Posts: 1
Joined: Mon Apr 12, 2004 12:43 am

Executing a c code from inside a php file

Post 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
User avatar
Ixplodestuff8
Forum Commoner
Posts: 60
Joined: Mon Feb 09, 2004 8:17 pm
Location: Queens, New York

Post by Ixplodestuff8 »

exec() can execute other programs.
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

I've never used this myself, but it might do what you want.
Post Reply