|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Is it possible to call a c program in php?
I have created a circuit (light sensors) and control it by a c program, this c program can show the status of the circuit and reset the circuit. However, it can only run in dos. I need to link the c program to the broswer, so that the user can crontol the circit and view the status of it using the browser. Is it possible to do it in php or there is some other ways to do it? can anyone help? thx! |
|
#2
|
|||
|
|||
|
Php has a function called system(). It basically takes a command string as an argument and returns the result straight into the browser. I've tried this only in unix but i think it should be ok under microsoft's stuff.
-Nar |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > please help, php and c program (urgent) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|