killing a program from PHP!
Posted: Fri Dec 19, 2003 6:38 am
HI
,
i want the PHP to kill student's program (written in C, compiled by Borland C++ Compiler) after fixed seconds (let's say 40), to terminate the run if there is a problem in it.
How could i do that in my PHP code (that called the compiler and compile the student's code?
Is the windows API inform that?
i want the PHP to kill student's program (written in C, compiled by Borland C++ Compiler) after fixed seconds (let's say 40), to terminate the run if there is a problem in it.
How could i do that in my PHP code (that called the compiler and compile the student's code?
Is the windows API inform that?